-
Notifications
You must be signed in to change notification settings - Fork 1
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
Move all project configuration to pyproject.toml #89
Conversation
Remove requirements.txt, requirements-doc.txt, requirements-dev.txt, and setup.cfg and replace them with equivalent content in pyproject.toml. Currently flake8 configuration is missing -- this was configured in setup.cfg and cannot currently be configured in pyproject.toml (see PyCQA/flake8#234 ).
This configuration was previously in setup.cfg, but now that all other project configuration has been moved to pyproject.toml, it's safer to remove setup.cfg (since it might affect pip behaviour) and use a dedicated .flake8 file for flake8 configuration.
They were trying to read requirements files which no longer exist.
Development and doc dependencies weren't being installed.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #89 +/- ##
=======================================
Coverage 99.93% 99.93%
=======================================
Files 30 30
Lines 1454 1454
=======================================
Hits 1453 1453
Misses 1 1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! One tiny, non-crucial comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please merge my suggestion. That's all. Thanks, great!
Add an issue number per PR #89 review. Co-authored-by: Norman Fomferra <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, Out of curiosity, why extend-ignore = E203 in .flake8?
@TonioF It's a workaround for a bug in pycodestyle, which is used by flake8. I've added a comment to the .flake8 file to explain it. |
Closes #88 .
Checklist (strike out non-applicable):
CHANGES.md
CHANGES.md
* [ ] Added docstrings and API docs for any new/modified user-facing classes and functionsn/adocs/*
* [ ] Unit-tests adapted/added for changes/featuresn/a