-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
67 changed files
with
23,394 additions
and
3,396 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,34 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
tags: | ||
- 'v*' | ||
- '!*dev*' | ||
- '!*pre*' | ||
- '!*post*' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
core: | ||
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main | ||
with: | ||
submodules: false | ||
envs: | | ||
- linux: py310 | ||
test: | ||
needs: [core] | ||
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main | ||
with: | ||
submodules: false | ||
envs: | | ||
- windows: py39 | ||
- macos: py38 |
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,58 @@ | ||
repos: | ||
# The warnings/errors we check for here are: | ||
# E901 - SyntaxError or IndentationError | ||
# E902 - IOError | ||
# F822 - undefined name in __all__ | ||
# F823 - local variable name referenced before assignment | ||
# Others are taken care of by autopep8 | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 5.0.4 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
[ | ||
"--count", | ||
"--select", | ||
"E901,E902,F822,F823", | ||
] | ||
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|.rst|.md)$" | ||
- repo: https://github.com/PyCQA/autoflake | ||
rev: v1.7.7 | ||
hooks: | ||
- id: autoflake | ||
args: | ||
[ | ||
"--in-place", | ||
"--remove-all-unused-imports", | ||
"--remove-unused-variable", | ||
] | ||
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|.rst|.md)$" | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
args: ["--sp", "setup.cfg"] | ||
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|.rst|.md)$" | ||
- repo: https://github.com/pre-commit/mirrors-autopep8 | ||
rev: v2.0.0 | ||
hooks: | ||
- id: autopep8 | ||
args: ["--in-place","--max-line-length", "200"] | ||
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|extern.*|.rst|.md)$" | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-case-conflict | ||
- id: trailing-whitespace | ||
exclude: ".*(.fits|.fts|.fit|.header|.txt)$" | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: check-added-large-files | ||
args: ['--enforce-all','--maxkb=1054'] | ||
- id: end-of-file-fixer | ||
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*|.json)$|^CITATION.rst$" | ||
- id: mixed-line-ending | ||
exclude: ".*(.fits|.fts|.fit|.header|.txt|tca.*)$" | ||
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
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,9 +1,10 @@ | ||
# Helita | ||
|
||
Helita is a Python library for solar physics focused on interfacing with code and projects from the [Institute of Theoretical Astrophysics](http://astro.uio.no) (ITA) and the [Rosseland Centre for Solar Physics](https://www.mn.uio.no/rocs/) (RoCS) at the [University of Oslo](https://www.uio.no). The name comes from Helios + ITA. | ||
Helita is a Python library for solar physics focused on interfacing with code and projects from the [Institute of Theoretical Astrophysics](http://astro.uio.no) (ITA) and the [Rosseland Centre for Solar Physics](https://www.mn.uio.no/rocs/) (RoCS) at the [University of Oslo](https://www.uio.no). | ||
The name comes from Helios + ITA. | ||
|
||
The library is a loose collection of different scripts and classes with varying degrees of portability and usefulness. | ||
|
||
## Documentation | ||
|
||
For more details including installation instructions, please see the documentation at http://ita-solar.github.io/helita. | ||
For more details including installation instructions, [please see the documentation.](http://ita-solar.github.io/helita) |
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.