Skip to content

Commit

Permalink
CI add devdeps (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis authored Jul 23, 2024
1 parent c3bd709 commit a07c2bf
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 11 deletions.
11 changes: 11 additions & 0 deletions .codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
comment: off
coverage:
status:
project:
default:
threshold: 1%

codecov:
require_ci_to_pass: false
notify:
wait_for_ci: true
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
envs: |
- windows: py310
- macos: py311
- linux: py312-devdeps
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
]
exclude: ".*(.fits|.fts|.fit|.txt|tca.*|extern.*|.rst|.md|docs/conf.py)$"
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.4.4"
rev: "v0.5.4"
hooks:
- id: ruff
args: ["--fix", "--unsafe-fixes"]
Expand All @@ -35,7 +35,7 @@ repos:
- id: check-yaml
- id: debug-statements
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
identity and expression, level of experience, education, socioeconomic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

Expand Down
16 changes: 8 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
# This needs to be done before aiapy or sunpy is imported
os.environ["PARFIVE_HIDE_PROGRESS"] = "True"

import datetime # NOQA: E402
import warnings # NOQA: E402
from pathlib import Path # NOQA: E402
import datetime
import warnings
from pathlib import Path

from astropy.utils.exceptions import AstropyDeprecationWarning # NOQA: E402
from matplotlib import MatplotlibDeprecationWarning # NOQA: E402
from sunpy.util.exceptions import SunpyDeprecationWarning, SunpyPendingDeprecationWarning # NOQA: E402
from sunpy_sphinx_theme import PNG_ICON # NOQA: E402
from astropy.utils.exceptions import AstropyDeprecationWarning
from matplotlib import MatplotlibDeprecationWarning
from sunpy.util.exceptions import SunpyDeprecationWarning, SunpyPendingDeprecationWarning
from sunpy_sphinx_theme import PNG_ICON

from aiapy import __version__ # NOQA: E402
from aiapy import __version__

# -- Project information -------------------------------------------------------
project = "aiapy"
Expand Down
1 change: 1 addition & 0 deletions docs/nitpick-exceptions
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ py:class function
py:class path-like
py:class str-like
py:class time-like
py:class Unit
py:class Unit('%')
py:class Unit('Angstrom')
py:class Unit('arcsec / pix')
Expand Down

0 comments on commit a07c2bf

Please sign in to comment.