-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #321 from Cadair/0.9
Prepare a 0.9.1 release with support for 3.11
- Loading branch information
Showing
8 changed files
with
75 additions
and
14 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
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,55 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: end-of-file-fixer | ||
exclude: ".*(data.*|extern.*|licenses.*|.*.fits)$" | ||
- id: trailing-whitespace | ||
exclude: ".*(data.*|extern.*|licenses.*|.*.fits)$" | ||
|
||
# We list the warnings/errors to check for here rather than in setup.cfg because | ||
# we don't want these options to apply whenever anyone calls flake8 from the | ||
# command-line or their code editor - in this case all warnings/errors should be | ||
# checked for. The warnings/errors we check for here are: | ||
# E101 - mix of tabs and spaces | ||
# W191 - use of tabs | ||
# E201 - whitespace after '(' | ||
# E202 - whitespace before ')' | ||
# W291 - trailing whitespace | ||
# W292 - no newline at end of file | ||
# W293 - trailing whitespace | ||
# W391 - blank line at end of file | ||
# E111 - 4 spaces per indentation level | ||
# E112 - 4 spaces per indentation level | ||
# E113 - 4 spaces per indentation level | ||
# E301 - expected 1 blank line, found 0 | ||
# E302 - expected 2 blank lines, found 0 | ||
# E303 - too many blank lines (3) | ||
# E304 - blank lines found after function decorator | ||
# E305 - expected 2 blank lines after class or function definition | ||
# E306 - expected 1 blank line before a nested definition | ||
# E502 - the backslash is redundant between brackets | ||
# E722 - do not use bare except | ||
# E901 - SyntaxError or IndentationError | ||
# E902 - IOError | ||
# E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree | ||
# F822: undefined name in __all__ | ||
# F823: local variable name referenced before assignment | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 5.0.4 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
[ | ||
"--count", | ||
"--select", | ||
"E101,W191,E201,E202,W291,W292,W293,W391,E111,E112,E113,E30,E502,E722,E901,E902,E999,F822,F823", | ||
] | ||
exclude: ".*(data.*|extern.*|cextern)$" | ||
|
||
ci: | ||
autofix_prs: false |
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,2 +1,2 @@ | ||
{% extends "autosummary_core/base.rst" %} | ||
{# The template this is inherited from is in astropy/sphinx/ext/templates/autosummary_core. If you want to modify this template, it is strongly recommended that you still inherit from the astropy template. #} | ||
{# The template this is inherited from is in astropy/sphinx/ext/templates/autosummary_core. If you want to modify this template, it is strongly recommended that you still inherit from the astropy template. #} |
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,2 +1,2 @@ | ||
{% extends "autosummary_core/class.rst" %} | ||
{# The template this is inherited from is in astropy/sphinx/ext/templates/autosummary_core. If you want to modify this template, it is strongly recommended that you still inherit from the astropy template. #} | ||
{# The template this is inherited from is in astropy/sphinx/ext/templates/autosummary_core. If you want to modify this template, it is strongly recommended that you still inherit from the astropy template. #} |
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,2 +1,2 @@ | ||
{% extends "autosummary_core/module.rst" %} | ||
{# The template this is inherited from is in astropy/sphinx/ext/templates/autosummary_core. If you want to modify this template, it is strongly recommended that you still inherit from the astropy template. #} | ||
{# The template this is inherited from is in astropy/sphinx/ext/templates/autosummary_core. If you want to modify this template, it is strongly recommended that you still inherit from the astropy template. #} |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name = reproject | |
author = Thomas Robitaille, Christoph Deil, Adam Ginsburg | ||
author_email = [email protected] | ||
license = BSD 3-Clause | ||
license_file = LICENSE | ||
license_files = LICENSE | ||
url = https://reproject.readthedocs.io | ||
description = Reproject astronomical images | ||
long_description = file: README.rst | ||
|
@@ -60,6 +60,10 @@ filterwarnings = | |
ignore:No observer defined on WCS:astropy.utils.exceptions.AstropyUserWarning | ||
ignore:unclosed file:ResourceWarning | ||
ignore:The conversion of these 2D helioprojective coordinates to 3D is all NaNs | ||
# This is a sunpy < 4.1 issue with Python 3.11 | ||
ignore:'xdrlib' is deprecated and slated for removal in Python 3.13 | ||
# This is a pyvo issue with Python 3.11 | ||
ignore:'cgi' is deprecated and slated for removal in Python 3.13 | ||
|
||
[coverage:run] | ||
omit = | ||
|
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