pyproject.toml carried requirements.txt comment lines as dependencies, which fails PEP 508 parsing. flake8 never read [tool.flake8] from pyproject, so the settings move to .flake8 and pre-commit runs the full rule set. config.json (holds the CivitAI API key and machine paths) and other local artifacts are now ignored. coverage joins the dev requirements.
5 lines
135 B
INI
5 lines
135 B
INI
[flake8]
|
|
max-line-length = 88
|
|
extend-ignore = E203, W503
|
|
exclude = reference/, .git, __pycache__, web/, venv/, htmlcov/, build/, dist/
|