-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into test-refactoring
- Loading branch information
Showing
22 changed files
with
227 additions
and
286 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
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,76 @@ | ||
target-version = "py310" | ||
show-fixes = true | ||
extend-exclude = [ | ||
".jupyter", | ||
"__pycache__", | ||
"_build", | ||
"_dev", | ||
] | ||
|
||
[lint] | ||
# Find info about ruff rules at: https://docs.astral.sh/ruff/rules | ||
extend-select = [ | ||
"ARG", # flake8-unused-arguments | ||
"B", # flake8-bugbear | ||
"BLE", # flake8-blind-except | ||
"C4", # flake8-comprehensions | ||
"C90", # mccabe | ||
"COM818", # trailing-comma-on-bare-tuple | ||
"FBT003", # flake8-boolean-trap | ||
"FLY", # flynt | ||
"I", # isort | ||
"ICN", # flake8-import-conventions | ||
"INP", # flake8-no-pep420 | ||
"INT", # flake8-gettext | ||
"ISC", # flake8-implicit-str-concat | ||
"N", # pep8-naming | ||
"NPY", # numpy-deprecated-type-alias | ||
"PD", # pandas-vet | ||
"PERF", # perflint | ||
"PGH", # pygrep-hooks | ||
"PIE", # flake8-pie | ||
"PLC", # pylint convention | ||
"PLE", # pylint errors | ||
"PLW", # pylint warnings | ||
"PT", # flake8-pytest-style | ||
"PTH", # flake8-use-pathlib | ||
"PYI", # flake8-pyi | ||
"RSE", # flake8-raise | ||
"RUF005",# collection-literal-concatenation | ||
"RUF006", # asyncio-dangling-task | ||
"RUF007", # pairwise-over-zipped | ||
"RUF008", # mutable-dataclass-default | ||
"RUF009", # function-call-in-dataclass-default-argument | ||
"RUF010", # explicit-f-string-type-conversion | ||
"RUF013", # implicit-optional | ||
"RUF015", # unnecessary-iterable-allocation-for-first-element | ||
"RUF016", # invalid-index-type | ||
"RUF100", # unused-noqa | ||
"RUF200", # invalid-pyproject-toml | ||
"S", # flake8-bandit | ||
"SIM", # flake8-simplify | ||
"TCH", # flake8-type-checking | ||
"TID", # flake8-tidy-imports | ||
"TRY", # tryceratops | ||
"UP", # pyupgrade | ||
"W", # pycodestyle warnings | ||
] | ||
ignore = [ | ||
"C901", # is too complex | ||
"E501", # line-too-long | ||
"ISC001", # single-line-implicit-string-concatenation (formatter conflict) | ||
"N802", # invalid-function-name | ||
"N803", # invalid-argument-name | ||
"N806", # non-lowercase-variable-in-function | ||
"N816", # mixed-case-variable-in-global-scope | ||
"PLC2401", # non-ascii-name | ||
"S101", # asserts | ||
"SIM108", # if-else-block-instead-of-if-exp | ||
"TRY003", # raise-vanilla-args | ||
] | ||
|
||
[lint.per-file-ignores] | ||
"docs/conf.py" = [ | ||
"E402", # Module imports not at top of file | ||
"INP001", # Implicit-namespace-package. The examples are not a package. | ||
] |
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 was deleted.
Oops, something went wrong.
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,30 @@ | ||
.. _citation_guide: | ||
|
||
=============================================== | ||
Citing XRTpy in Publications and Presentations | ||
=============================================== | ||
|
||
|
||
If XRTpy has been useful in your research, we encourage you to consider including a citation or acknowledgment in your work. Below are suggested formats to credit XRTpy in your scientific papers, posters, or presentations. While this is not required, it is greatly appreciated. | ||
|
||
Suggested Citations | ||
=================== | ||
|
||
For a scientific paper | ||
---------------------- | ||
You may use the following format to cite XRTpy in your publications: | ||
|
||
"We acknowledge the use of XRTpy (v0.4.1) for Hinode X-Ray Telescope data analysis, available at https://xrtpy.readthedocs.io/ (Velasquez et al. 2024, JOSS, DOI: 10.21105/joss.06396)." | ||
|
||
For a poster or presentation | ||
---------------------------- | ||
If you are presenting work that involves XRTpy in a poster or presentation, you may use the following acknowledgment: | ||
|
||
"This work made use of XRTpy (v0.4.1), a Python package for solar | ||
Hinode X-Ray Telescope data analysis, available at https://xrtpy.readthedocs.io/ (Velasquez et al. 2024, JOSS, DOI: 10.21105/joss.06396)." | ||
|
||
References | ||
========== | ||
Velasquez, J., Murphy, N., Reeves, K. K., Slavin, J., Weber, M., & Barnes, W. (2024). XRTpy: A Hinode-X-Ray Telescope Python Package. The Journal of Open Source Software, 9(100), 6396. https://doi.org/10.21105/joss.06396 | ||
|
||
.. _joss_citation: https://doi.org/10.21105/joss.06396 |
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 |
---|---|---|
|
@@ -10,3 +10,4 @@ Contributor Guide | |
contributing | ||
installation_for_development | ||
release_guide | ||
acknowledging_xrtpy |
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.