Enable ERA in ruff

Dead code belongs in the history, not in comments
This commit is contained in:
Alexander Hess 2026-11-28 04:55:19 +01:00
commit 8f36a740d7
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -229,8 +229,8 @@ def lint_code(session: Session) -> None:
# - Only for the *.py files to be packaged
# - It then needs the developed package and its dependencies installed
# as it treats missing packages as `Any` and reports false successes
# session.run('mypy', '--version')
# session.run('mypy', PACKAGE_LOCATION)
# session.run('mypy', '--version') # noqa:ERA001
# session.run('mypy', PACKAGE_LOCATION) # noqa:ERA001
@nox.session(name="test", python=MAIN_PYTHON)