-
Notifications
You must be signed in to change notification settings - Fork 83
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
2 changed files
with
21 additions
and
12 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 |
---|---|---|
@@ -1,9 +1,15 @@ | ||
[flake8] | ||
max_line_length = 88 | ||
ignore = | ||
E501 # line too long - let black handle that | ||
C408 # Unnecessary dict/list/tuple call - rewrite as a literal | ||
E203 # whitespace before ':' - doesn't work well with black | ||
E225 # missing whitespace around operator - let black worry about that | ||
W503 # line break occurred before a binary operator - let black worry about that | ||
W504 # line break occurred adter a binary operator - let black worry about that | ||
# line too long - let black handle that | ||
E501 | ||
# Unnecessary dict/list/tuple call - rewrite as a literal | ||
C408 | ||
# whitespace before ':' - doesn't work well with black | ||
E203 | ||
# missing whitespace around operator - let black worry about that | ||
E225 | ||
# line break occurred before a binary operator - let black worry about that | ||
W503 | ||
# line break occurred adter a binary operator - let black worry about that | ||
W504 |
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,25 +1,28 @@ | ||
default_language_version: | ||
python: python3.10 | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
- repo: https://github.com/psf/black-pre-commit-mirror | ||
rev: 23.12.1 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
args: [rioxarray/, test/, docs/] | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: v1.12.1 | ||
rev: 1.16.0 | ||
hooks: | ||
- id: blacken-docs | ||
args: [--skip-errors] | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 5.0.4 | ||
rev: 6.1.0 | ||
hooks: | ||
- id: flake8 |