Update template config: pylint in pyproject, just test args, python 3.12.4 pin

This commit is contained in:
jay
2026-11-09 13:18:04 -05:00
parent 041a9f3943
commit c5522cc649
11 changed files with 30 additions and 62 deletions
+4 -4
View File
@@ -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