Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude old files from mypy #100

Closed
ns-rse opened this issue Nov 29, 2024 · 0 comments
Closed

Exclude old files from mypy #100

ns-rse opened this issue Nov 29, 2024 · 0 comments
Labels
ci Continuous Integration

Comments

@ns-rse
Copy link
Contributor

ns-rse commented Nov 29, 2024

Currently the mypy hook checks all .py files and there are a lot of errors reported for pipeline_slam3UIs.py and
all_introns_count_and_info.py. It should be possible to exclude these under [tool.mypy] with the following although
it isn't currently recognised...

[tool.mypy]
exclude = [
  '^all_introns_counts_and_info\.py$',
  '^pipeline_slam_3UIs\.py$',
]

Single quotes are used to give string literals and avoid the need to escape characters in regular expressions in TOML
files (see note in example).

@ns-rse ns-rse added the ci Continuous Integration label Nov 29, 2024
@ns-rse ns-rse closed this as completed Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration
Projects
None yet
Development

No branches or pull requests

1 participant