ci(lint): configure mypy and pylint to pass in CI workflow
- Add types-requests and types-paramiko stubs to requirements-dev.txt - Configure mypy disable_error_code in pyproject.toml for SQLAlchemy/ORM false positives and dynamic library type issues - Add comprehensive pylint configuration in pyproject.toml with documented suppressions for framework-specific patterns and false positives - Update CI workflow to use pyproject.toml config instead of inline flags - Both mypy and pylint now pass with exit code 0 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -134,7 +134,7 @@ jobs:
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
- name: Run Mypy
|
||||
run: mypy app/ --ignore-missing-imports
|
||||
run: mypy app/
|
||||
|
||||
# ── Pylint ─────────────────────────────────────────────────────────────
|
||||
pylint:
|
||||
@@ -155,7 +155,7 @@ jobs:
|
||||
pip install -r requirements-dev.txt
|
||||
|
||||
- name: Run Pylint
|
||||
run: pylint app/ --max-line-length=120 --disable=C0111,C0103,R0903
|
||||
run: pylint app/
|
||||
|
||||
# ── Bandit ─────────────────────────────────────────────────────────────
|
||||
bandit:
|
||||
|
||||
Reference in New Issue
Block a user