forked from astropy/astropy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move setup.cfg to pyproject.toml (astropy#15247)
* Move setup.cfg to pyproject.toml * Fix docs build * Update github CI for astropy-iers-data updates * Update code mentions of setup.cfg to pyproject.toml * Add changelog * Change how license is specified
- Loading branch information
1 parent
7ca3366
commit 98710e2
Showing
20 changed files
with
292 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
select = E,F,W | ||
exclude = extern,*parsetab.py,*lextab.py | ||
extend-ignore = E203,E501,E711,E721,E731,E741,F403,F841,W5 | ||
per-file-ignores = | ||
__init__.py:F401,F403,E402 | ||
test_*.py:E402 | ||
astropy/io/fits/card.py:E131 | ||
astropy/io/registry/compat.py:F822 | ||
astropy/convolution/convolve.py:E241 | ||
astropy/modeling/functional_models.py:E226,E241 | ||
astropy/modeling/models.py:F401,F403,F405 | ||
astropy/modeling/tests/test_constraints.py:E241 | ||
astropy/stats/tests/test_histogram.py:E241 | ||
astropy/stats/tests/test_sigma_clipping.py:E126,E131,E241 | ||
astropy/units/__init__.py:F401,F821 | ||
astropy/units/astrophys.py:F821 | ||
astropy/units/cgs.py:F821 | ||
astropy/units/imperial.py:F821 | ||
astropy/units/misc.py:F821 | ||
astropy/units/photometric.py:F821 | ||
astropy/units/si.py:F821 | ||
astropy/units/tests/test_quantity_decorator.py:F821 | ||
astropy/units/tests/test_quantity_typing.py:F821 | ||
astropy/wcs/wcs.py:F821 | ||
astropy/wcs/wcsapi/fitswcs.py:F821 | ||
astropy/wcs/wcsapi/utils.py:E127,E128 | ||
docs/conf.py:F401 | ||
examples/*.py:E1,E2,E402 | ||
*/examples/*.py:E1,E2,E402 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Regularly update the minimum version of astropy-iers-data in setup.cfg, | ||
# Regularly update the minimum version of astropy-iers-data in pyproject.toml, | ||
# to ensure that if users update astropy, astropy-iers-data will also get | ||
# updated to a recent version. | ||
|
||
|
@@ -36,7 +36,7 @@ jobs: | |
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git add setup.cfg | ||
git add pyproject.toml | ||
if ! git diff --cached --exit-code; then | ||
git commit -m "Update minimum required version of astropy-iers-data" | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[pycodestyle] | ||
max-line-length = 88 | ||
exclude = extern,*parsetab.py,*lextab.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Switch from using ``setup.cfg`` for project configuration to using ``pyproject.toml``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.