Skip to content

Commit

Permalink
Wrap long comments, add more punctuation
Browse files Browse the repository at this point in the history
.dir-locals specifies "fill-column" as 99 for .py files.
This seems resonable, because then the comments mostly match the
general width of the surrounding code.
  • Loading branch information
keszybz committed Sep 12, 2024
1 parent 4c5b799 commit 6f753c8
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 144 deletions.
4 changes: 2 additions & 2 deletions bin/mkosi
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export PYTHONPATH
command="$(basename "${BASH_SOURCE[0]//-/.}")"

if [ -z "$MKOSI_INTERPRETER" ]; then
# Note the check seems to be inverted here because the if branch is executed when the exit status is 0
# which is equal to "False" in python.
# Note the check seems to be inverted here because the if branch is
# executed when the exit status is 0 which is equal to False in Python.
if python3 -c "import sys; sys.exit(sys.version_info < (3, 9))"; then
MKOSI_INTERPRETER=python3
elif command -v python3.9 >/dev/null; then
Expand Down
Loading

0 comments on commit 6f753c8

Please sign in to comment.