-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs: clarify formatting guidelines * fix: configuration for formatting tools * fix: absolute import * style: reformatted with black and flake8 * style: order imports * fix: added config for pylint * style: typo * fix: prevent Iterator to loop forever * style: sorting imports * pre-commit * fix: removed * fix: function name * style: formatting * fix: list groups test * style: sort import * added links Co-authored-by: Jacob Gårder <Jacob.Garder@hm.com>
- Loading branch information
1 parent
071ffa5
commit 8158ff8
Showing
30 changed files
with
180 additions
and
248 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[flake8] | ||
max-line-length = 127 | ||
max-doc-length = 127 | ||
extend_ignore = E203, W503, W605, F841 | ||
exclude = build,dist,.git,docs,docsrc,examples,.venv,venv |
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,23 @@ | ||
exclude: ^(docsrc/|docs/|examples/) | ||
repos: | ||
- repo: local | ||
hooks: | ||
- id: black | ||
name: black | ||
language: system | ||
entry: black | ||
minimum_pre_commit_version: 2.9.2 | ||
require_serial: true | ||
types: [python] | ||
|
||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 4.0.1 | ||
hooks: | ||
- id: flake8 | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.9.3 | ||
hooks: | ||
- id: isort | ||
args: [--profile, black, --skip, docsrc, --skip, examples, --filter-files] | ||
types: [python] |
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.