Add pytest
to dev dependencies;
upgrade dev dependencies; remove unnecessary main test script entrypoint; remove unnecessary line from `.gitignore`; put repo description variable into top-level `__init__.py`; introduce syntax-error as a reminder to fix copyright; add CSS fix for broken inline-code segments; update `index.md` layout; reorder linting script calls and add a bit more output; support Python 3.8+ by default; fix wrong dependency file reference in `pyproject.toml`; add `pytest` config to `pyproject.toml`; call `pytest` in `coverage` config; add a few sensible rule-ignores to `ruff` config
This commit is contained in:
@ -5,13 +5,13 @@ source "$(dirname $(realpath $0))/util.sh"
|
||||
|
||||
echo 'Linting source and test files...'
|
||||
|
||||
echo ' isort - consistent imports'
|
||||
isort src/ tests/ --check-only
|
||||
|
||||
echo ' ruff - extensive linting'
|
||||
echo ' ruff - Doing extensive linting'
|
||||
ruff src/ tests/
|
||||
|
||||
echo ' black - consistent style'
|
||||
echo ' black - Ensuring consistent code style'
|
||||
run_and_capture black src/ tests/ --check
|
||||
|
||||
echo ' isort - Ensuring consistent import structure'
|
||||
isort src/ tests/ --check-only
|
||||
|
||||
echo -e "${bold_green}No issues found${color_reset}\n"
|
||||
|
Reference in New Issue
Block a user