-
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 config and fix all the things
- Loading branch information
1 parent
5d96d44
commit 6c5ada9
Showing
203 changed files
with
1,149 additions
and
1,171 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,14 +1,37 @@ | ||
# do not touch the migration files at all: these are auto-generated by Django | ||
exclude: \/migrations\/ | ||
|
||
repos: | ||
- repo: https://github.com/pycqa/isort | ||
rev: '5.10.1' | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/pre-commit/mirrors-autopep8 | ||
rev: 'v1.6.0' | ||
hooks: | ||
- id: autopep8 | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: '3.9.2' | ||
hooks: | ||
- id: flake8 | ||
exclude: ^.*/migrations/.*$ | ||
- repo: meta | ||
hooks: | ||
- id: check-hooks-apply | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-ast | ||
- id: check-json | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
exclude: \.html$|\.txt$ | ||
- id: trailing-whitespace | ||
- id: debug-statements | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.5.7 | ||
hooks: | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
- repo: https://github.com/pre-commit/mirrors-eslint | ||
rev: v8.56.0 | ||
hooks: | ||
- id: eslint | ||
args: [--fix, --color] | ||
additional_dependencies: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- repo: https://github.com/crate-ci/typos | ||
rev: v1.23.6 | ||
hooks: | ||
- id: typos | ||
exclude: daiquiri/metadata/settings.py |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ The core developers are: | |
Yori Fournier <[email protected]> | ||
Kirill Makan <[email protected]> | ||
|
||
We apreciate contributions from: | ||
We appreciate contributions from: | ||
|
||
Fernando Campos | ||
Harry Enke | ||
|
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
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
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.