-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run automated formatting and linters (#187)
- Loading branch information
Showing
55 changed files
with
3,917 additions
and
3,135 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,3 +1,3 @@ | ||
# automatically requests pull request reviews for files matching the given pattern; the last match takes precendence | ||
# automatically requests pull request reviews for files matching the given pattern; the last match takes precedence | ||
|
||
* @spacetelescope/stcal-maintainers |
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,46 +1,46 @@ | ||
documentation: | ||
- 'docs/**/*' | ||
- any: [ '*.rst', '!CHANGES.rst' ] | ||
- '*.md' | ||
- '.readthedocs.yaml' | ||
- 'LICENSE' | ||
- "docs/**/*" | ||
- any: ["*.rst", "!CHANGES.rst"] | ||
- "*.md" | ||
- ".readthedocs.yaml" | ||
- "LICENSE" | ||
|
||
installation: | ||
- 'pyproject.toml' | ||
- 'setup.*' | ||
- 'requirements-*.txt' | ||
- 'MANIFEST.in' | ||
- "pyproject.toml" | ||
- "setup.*" | ||
- "requirements-*.txt" | ||
- "MANIFEST.in" | ||
|
||
# --------------------------------------- testing --------------------------------------- | ||
|
||
automation: | ||
- '.github/**' | ||
- '.bandit.yaml' | ||
- '.codecov.yml' | ||
- ".github/**" | ||
- ".bandit.yaml" | ||
- ".codecov.yml" | ||
|
||
testing: | ||
- '**/tests/**' | ||
- '.github/workflows/ci*.yml' | ||
- 'conftest.py' | ||
- "**/tests/**" | ||
- ".github/workflows/ci*.yml" | ||
- "conftest.py" | ||
|
||
# --------------------------------------- modules --------------------------------------- | ||
|
||
dark_current: | ||
- '**/*dark_current*' | ||
- '**/*dark_current*/**' | ||
- "**/*dark_current*" | ||
- "**/*dark_current*/**" | ||
|
||
jump: | ||
- '**/*jump*' | ||
- '**/*jump*/**' | ||
- "**/*jump*" | ||
- "**/*jump*/**" | ||
|
||
linearity: | ||
- '**/*linearity*' | ||
- '**/*linearity*/**' | ||
- "**/*linearity*" | ||
- "**/*linearity*/**" | ||
|
||
ramp_fitting: | ||
- '**/*ramp_fitting*' | ||
- '**/*ramp_fitting*/**' | ||
- "**/*ramp_fitting*" | ||
- "**/*ramp_fitting*/**" | ||
|
||
saturation: | ||
- '**/*saturation*' | ||
- '**/*saturation*/**' | ||
- "**/*saturation*" | ||
- "**/*saturation*/**" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,4 +151,4 @@ docs/source/api | |
.DS_Store | ||
|
||
# VSCode stuff | ||
.vscode | ||
.vscode |
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,69 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-case-conflict | ||
- id: check-yaml | ||
args: ["--unsafe"] | ||
- id: check-toml | ||
- id: check-merge-conflict | ||
- id: check-symlinks | ||
- id: debug-statements | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.10.0 | ||
hooks: | ||
- id: rst-directive-colons | ||
- id: rst-inline-touching-normal | ||
- id: text-unicode-replacement-char | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.5 | ||
hooks: | ||
- id: codespell | ||
args: ["--write-changes"] | ||
additional_dependencies: | ||
- tomli | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: "v0.1.5" | ||
hooks: | ||
- id: ruff | ||
args: ["--fix", "--show-fixes"] | ||
- id: ruff-format | ||
|
||
- repo: https://github.com/MarcoGorelli/cython-lint | ||
rev: v0.15.0 | ||
hooks: | ||
- id: cython-lint | ||
- id: double-quote-cython-strings | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
name: isort (cython) | ||
types: [cython] | ||
|
||
- repo: https://github.com/adamchainz/blacken-docs | ||
rev: 1.16.0 | ||
hooks: | ||
- id: blacken-docs | ||
additional_dependencies: | ||
- black==22.12.0 | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v3.0.1" | ||
hooks: | ||
- id: prettier | ||
|
||
- repo: https://github.com/scientific-python/cookie | ||
rev: 2023.10.27 | ||
hooks: | ||
- id: sp-repo-review | ||
additional_dependencies: ["repo-review[cli]"] |
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 |
---|---|---|
|
@@ -76,4 +76,3 @@ linkcheck: | |
|
||
livehtml: | ||
sphinx-autobuild -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html | ||
|
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.