-
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.
add
pre-commit
configuration and fix HWM multi-storm bug (for Hurri…
…cane Laura, #40)
- Loading branch information
1 parent
4d9cfc5
commit 82009be
Showing
31 changed files
with
1,512 additions
and
1,208 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
default_language_version: | ||
python: "python3" | ||
fail_fast: true | ||
ci: | ||
skip: ["poetry-lock", "prospector", "mypy"] | ||
|
||
repos: | ||
- repo: "https://github.com/pre-commit/pre-commit-hooks" | ||
rev: "v4.2.0" | ||
hooks: | ||
- id: "check-added-large-files" | ||
- id: "check-ast" | ||
- id: "check-byte-order-marker" | ||
- id: "check-docstring-first" | ||
- id: "check-executables-have-shebangs" | ||
- id: "check-json" | ||
- id: "check-symlinks" | ||
- id: "check-merge-conflict" | ||
- id: "check-vcs-permalinks" | ||
- id: "check-xml" | ||
- id: "check-yaml" | ||
- id: "debug-statements" | ||
- id: "end-of-file-fixer" | ||
exclude: .+\.ipynb | ||
|
||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.9.0 | ||
hooks: | ||
- id: python-check-blanket-noqa | ||
- id: python-check-blanket-type-ignore | ||
- id: python-use-type-annotations | ||
|
||
- repo: "https://github.com/asottile/reorder_python_imports" | ||
rev: "v3.1.0" | ||
hooks: | ||
- id: "reorder-python-imports" | ||
args: | ||
- "--py39-plus" | ||
|
||
- repo: "https://github.com/psf/black" | ||
rev: "22.3.0" | ||
hooks: | ||
- id: "black" |
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 |
---|---|---|
@@ -1,14 +1,12 @@ | ||
from stormevents.coops.tidalstations import ( | ||
COOPS_Interval, | ||
COOPS_Product, | ||
coops_product_within_region, | ||
COOPS_Query, | ||
COOPS_Station, | ||
coops_stations, | ||
coops_stations_within_region, | ||
COOPS_StationStatus, | ||
COOPS_TidalDatum, | ||
COOPS_TimeZone, | ||
COOPS_Units, | ||
COOPS_VelocityType, | ||
) | ||
from stormevents.coops.tidalstations import COOPS_Interval | ||
from stormevents.coops.tidalstations import COOPS_Product | ||
from stormevents.coops.tidalstations import coops_product_within_region | ||
from stormevents.coops.tidalstations import COOPS_Query | ||
from stormevents.coops.tidalstations import COOPS_Station | ||
from stormevents.coops.tidalstations import coops_stations | ||
from stormevents.coops.tidalstations import coops_stations_within_region | ||
from stormevents.coops.tidalstations import COOPS_StationStatus | ||
from stormevents.coops.tidalstations import COOPS_TidalDatum | ||
from stormevents.coops.tidalstations import COOPS_TimeZone | ||
from stormevents.coops.tidalstations import COOPS_Units | ||
from stormevents.coops.tidalstations import COOPS_VelocityType |
Oops, something went wrong.