We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 766e28c commit 654ce28Copy full SHA for 654ce28
etc/make-lint.sh
@@ -6,12 +6,13 @@ if [[ $# -ne 0 ]]; then
6
fi
7
8
exit_code=0
9
+python_files="setup.py tests/*.py src/libsemigroups_pybind11/*.py src/libsemigroups_pybind11/**/*.py docs/source/*.py docs/source/**/*.py"
10
11
echo "Linting with ruff . . ."
-ruff check setup.py tests/*.py src/libsemigroups_pybind11/*.py docs/source/*.py || ((exit_code = 1))
12
+ruff check $python_files || ((exit_code = 1))
13
14
echo "Linting with pylint . . ."
-pylint setup.py tests/*.py src/libsemigroups_pybind11/*.py src/libsemigroups_pybind11/**/*.py || ((exit_code = 1))
15
+pylint $python_files || ((exit_code = 1))
16
17
echo "Linting with cpplint . . ."
18
cpplint src/*.hpp src/*.cpp || ((exit_code = 1))
0 commit comments