Update template config: pylint in pyproject, just test args, python 3.12.4 pin
This commit is contained in:
+4
-4
@@ -1,16 +1,16 @@
|
||||
# Run the full test suite
|
||||
test:
|
||||
pipenv run pytest
|
||||
test *args:
|
||||
pipenv run pytest -q {{args}}
|
||||
|
||||
# Auto-fix imports and formatting (autoflake, isort, black)
|
||||
fmt:
|
||||
pipenv run autoflake --recursive --remove-all-unused-imports --remove-unused-variables --in-place {{PKG}} tests conftest.py
|
||||
pipenv run autoflake --recursive --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports --in-place {{PKG}} tests conftest.py
|
||||
pipenv run isort {{PKG}} tests conftest.py
|
||||
pipenv run black {{PKG}} tests conftest.py
|
||||
|
||||
# Verify imports and formatting without modifying files
|
||||
fmt-check:
|
||||
pipenv run autoflake --recursive --check --remove-all-unused-imports --remove-unused-variables {{PKG}} tests conftest.py
|
||||
pipenv run autoflake --recursive --check --remove-all-unused-imports --remove-unused-variables --ignore-init-module-imports {{PKG}} tests conftest.py
|
||||
pipenv run isort --check-only --diff {{PKG}} tests conftest.py
|
||||
pipenv run black --check --diff {{PKG}} tests conftest.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user