Skip to content

Commit

Permalink
python: Remove Python 2-only -t CLI flag in makefile
Browse files Browse the repository at this point in the history
`-t` was used in Python 2 to warn if a file was mixing spaces and tabs such as a valid syntax would depend on the number of spaces a tab is worth. It doesn’t exist anymore since Python 3.0
  • Loading branch information
echoix committed Jan 25, 2024
1 parent 0ad33cc commit 11aa101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Make/Python.make
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
PY_SOURCES := $(wildcard *.py)

%.pyc: %.py
$(PYTHON) -t -m py_compile $<
$(PYTHON) -m py_compile $<

0 comments on commit 11aa101

Please sign in to comment.