Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
submodules: false
coverage: codecov
toxdeps: "'tox<4' tox-pypi-filter"
envs: |
- linux: py310
- linux: codestyle
Expand All @@ -33,6 +34,7 @@ jobs:
with:
submodules: false
coverage: codecov
toxdeps: "'tox<4' tox-pypi-filter"
libraries: |
apt:
- libopenjp2-7
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Scheduled builds

on:
workflow_dispatch:
schedule:
# ┌───────── minute (0 - 59)
# │ ┌───────── hour (0 - 23)
# │ │ ┌───────── day of the month (1 - 31)
# │ │ │ ┌───────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
- cron: '0 7 * * *' # Every day at 07:00 UTC

jobs:
dispatch_workflows:
runs-on: ubuntu-latest
steps:
- run: gh workflow run ci.yml --repo Helioviewer-Project/python-api --ref main
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: docformatter
args: [--in-place, --pre-summary-newline, --make-summary-multi]
- repo: https://github.com/myint/autoflake
rev: v1.7.6
rev: v2.0.0
hooks:
- id: autoflake
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
Expand All @@ -21,7 +21,7 @@ repos:
- id: isort
exclude: ".*(.fits|.fts|.fit|.txt|.csv|__init__.py)$"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-ast
- id: check-case-conflict
Expand All @@ -34,7 +34,7 @@ repos:
- id: check-yaml
- id: debug-statements
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.982'
rev: 'v0.991'
hooks:
- id: mypy
additional_dependencies: [types-requests==2.28.0]
12 changes: 6 additions & 6 deletions hvpy/datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,32 +438,32 @@ class DataSource(Enum):
Solar Orbiter instrument HRI, measurement 1216.
"""

SUVI_94 = 88
SUVI_94 = 2000
"""
GOES-R instrument SUVI, measurement 94.
"""

SUVI_131 = 89
SUVI_131 = 2001
"""
GOES-R instrument SUVI, measurement 131.
"""

SUVI_171 = 90
SUVI_171 = 2002
"""
GOES-R instrument SUVI, measurement 171.
"""

SUVI_195 = 91
SUVI_195 = 2003
"""
GOES-R instrument SUVI, measurement 195.
"""

SUVI_284 = 92
SUVI_284 = 2004
"""
GOES-R instrument SUVI, measurement 284.
"""

SUVI_304 = 93
SUVI_304 = 2005
"""
GOES-R instrument SUVI, measurement 304.
"""
Expand Down