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

Move options from setup.cfg to pyproject.toml #2512

Merged
merged 3 commits into from
Feb 23, 2024
Merged

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented Feb 20, 2024

Switch to using the standardized metadata and config for setuptools in pyproject.toml, gets rid of one config file.

pyproject.toml Outdated Show resolved Hide resolved
kosack
kosack previously approved these changes Feb 20, 2024
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (daf12f0) 92.52% compared to head (d98c57c) 92.53%.
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2512   +/-   ##
=======================================
  Coverage   92.52%   92.53%           
=======================================
  Files         235      235           
  Lines       20024    20024           
=======================================
+ Hits        18528    18530    +2     
+ Misses       1496     1494    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Tobychev
Tobychev previously approved these changes Feb 21, 2024
@maxnoe
Copy link
Member Author

maxnoe commented Feb 21, 2024

Sorry, needed to update the docs/conf.py to read the info now from pyproject.toml. Done now, please review again.

kosack
kosack previously approved these changes Feb 21, 2024
.eggs
max-line-length=90
select = C,E,F,W,B,B950
ignore = E501,W503,E203,W201,E712,E731
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these settings recreated outside the toml, or are they not relevant any more for some other reason?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flake8 does not support being configured via pyproject.toml (the maintainer hates it for some reason) and since we intend to move to ruff (#2416) I didn't bother adding it to a .flake8 file

@maxnoe maxnoe requested a review from kosack February 23, 2024 09:26
@maxnoe maxnoe merged commit a7afbe8 into main Feb 23, 2024
14 of 15 checks passed
@maxnoe maxnoe deleted the pyproject_everything branch February 23, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants