forked from iarv/meshcore-hub
- Update .flake8 and pre-commit config to properly use flake8 config - Add B008 to ignored errors (FastAPI Depends pattern) - Add E402 to ignored errors (intentional module-level imports) - Remove unused imports from test files and source files - Fix f-strings without placeholders - Add type annotations to inner async functions - Fix SQLAlchemy execute() to use text() wrapper - Add type: ignore comments for alembic.command imports - Exclude alembic/ directory from mypy in pre-commit - Update mypy overrides for test files to not require type annotations - Fix type annotations for params dicts in web routes - Fix generator return type in test fixtures
17 lines
268 B
INI
17 lines
268 B
INI
[flake8]
|
|
max-line-length = 88
|
|
extend-ignore = B008, E203, E402, E501, W503
|
|
exclude =
|
|
.git,
|
|
__pycache__,
|
|
.venv,
|
|
venv,
|
|
build,
|
|
dist,
|
|
*.egg-info,
|
|
alembic/versions,
|
|
.mypy_cache,
|
|
.pytest_cache
|
|
per-file-ignores =
|
|
__init__.py: F401
|