Skip to content

Commit

Permalink
Adjusting linter settings
Browse files Browse the repository at this point in the history
Opinionated formatters were removed, the line length limit was increased to 100 chars.

Signed-off-by: Jiri Podivin <[email protected]>
  • Loading branch information
jpodivin authored and FrostyX committed Nov 29, 2023
1 parent 7df8524 commit fcde95a
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ repos:
- id: check-builtin-literals
- id: check-executables-have-shebangs
- id: check-json
- id: pretty-format-json
exclude: .*frontend/package.*json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
Expand All @@ -23,17 +21,12 @@ repos:
- --fix=lf
- id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
hooks:
- id: prettier

- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
args:
- --max-line-length=88
- --max-line-length=100
- --extend-ignore=E203
- --exclude=data.py

Expand All @@ -49,13 +42,3 @@ repos:
additional_dependencies:
- types-PyYAML
- types-requests

- repo: https://github.com/akaihola/darker
rev: 1.7.2
hooks:
- id: darker
args:
- --isort
additional_dependencies:
- black~=22.12.0
- isort~=5.12.0

0 comments on commit fcde95a

Please sign in to comment.