-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
- Loading branch information
1 parent
75e7688
commit ba91b08
Showing
8 changed files
with
170 additions
and
126 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,79 +1,79 @@ | ||
fail_fast: false | ||
default_language_version: | ||
python: python3 | ||
python: python3 | ||
default_stages: | ||
- commit | ||
- push | ||
- commit | ||
- push | ||
minimum_pre_commit_version: 2.16.0 | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 24.4.2 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v4.0.0-alpha.8 | ||
hooks: | ||
- id: prettier | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: 1.16.0 | ||
hooks: | ||
- id: blacken-docs | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/asottile/yesqa | ||
rev: v1.5.0 | ||
hooks: | ||
- id: yesqa | ||
additional_dependencies: | ||
- flake8-tidy-imports | ||
- flake8-docstrings | ||
- flake8-rst-docstrings | ||
- flake8-comprehensions | ||
- flake8-bugbear | ||
- flake8-blind-except | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: detect-private-key | ||
- id: check-ast | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
args: [--fix=lf] | ||
- id: trailing-whitespace | ||
- id: check-case-conflict | ||
- repo: https://github.com/PyCQA/autoflake | ||
rev: v2.3.1 | ||
hooks: | ||
- id: autoflake | ||
args: | ||
- --in-place | ||
- --remove-all-unused-imports | ||
- --remove-unused-variable | ||
- --ignore-init-module-imports | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 7.0.0 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-tidy-imports | ||
- flake8-docstrings | ||
- flake8-rst-docstrings | ||
- flake8-comprehensions | ||
- flake8-bugbear | ||
- flake8-blind-except | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.15.2 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py3-plus, --py38-plus, --keep-runtime-typing] | ||
- repo: local | ||
hooks: | ||
- id: forbid-to-commit | ||
name: Don't commit rej files | ||
entry: | | ||
Cannot commit .rej files. These indicate merge conflicts that arise during automated template updates. | ||
Fix the merge conflicts manually and remove the .rej files. | ||
language: fail | ||
files: '.*\.rej$' | ||
- repo: https://github.com/psf/black | ||
rev: 24.4.2 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v4.0.0-alpha.8 | ||
hooks: | ||
- id: prettier | ||
- repo: https://github.com/asottile/blacken-docs | ||
rev: 1.16.0 | ||
hooks: | ||
- id: blacken-docs | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/asottile/yesqa | ||
rev: v1.5.0 | ||
hooks: | ||
- id: yesqa | ||
additional_dependencies: | ||
- flake8-tidy-imports | ||
- flake8-docstrings | ||
- flake8-rst-docstrings | ||
- flake8-comprehensions | ||
- flake8-bugbear | ||
- flake8-blind-except | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: detect-private-key | ||
- id: check-ast | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
args: [--fix=lf] | ||
- id: trailing-whitespace | ||
- id: check-case-conflict | ||
- repo: https://github.com/PyCQA/autoflake | ||
rev: v2.3.1 | ||
hooks: | ||
- id: autoflake | ||
args: | ||
- --in-place | ||
- --remove-all-unused-imports | ||
- --remove-unused-variable | ||
- --ignore-init-module-imports | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 7.0.0 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-tidy-imports | ||
- flake8-docstrings | ||
- flake8-rst-docstrings | ||
- flake8-comprehensions | ||
- flake8-bugbear | ||
- flake8-blind-except | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.15.2 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py3-plus, --py38-plus, --keep-runtime-typing] | ||
- repo: local | ||
hooks: | ||
- id: forbid-to-commit | ||
name: Don't commit rej files | ||
entry: | | ||
Cannot commit .rej files. These indicate merge conflicts that arise during automated template updates. | ||
Fix the merge conflicts manually and remove the .rej files. | ||
language: fail | ||
files: '.*\.rej$' |
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,16 +1,16 @@ | ||
# https://docs.readthedocs.io/en/stable/config-file/v2.html | ||
version: 2 | ||
build: | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.10" | ||
os: ubuntu-20.04 | ||
tools: | ||
python: "3.10" | ||
sphinx: | ||
configuration: docs/conf.py | ||
# disable this for more lenient docs builds | ||
fail_on_warning: false | ||
configuration: docs/conf.py | ||
# disable this for more lenient docs builds | ||
fail_on_warning: false | ||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- doc | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- doc |
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,9 @@ | ||
diff a/docs/index.md b/docs/index.md (rejected hunks) | ||
@@ -8,7 +8,6 @@ | ||
|
||
api.md | ||
changelog.md | ||
-template_usage.md | ||
contributing.md | ||
references.md | ||
|
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.