mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-08 03:28:35 +03:00
Format and lint web directory (#67)
This commit is contained in:
@@ -61,18 +61,18 @@ repos:
|
||||
- --profile=black
|
||||
- --line-length=80
|
||||
|
||||
# - repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
# rev: v0.9.7
|
||||
# hooks:
|
||||
# - id: ruff
|
||||
# types_or: [python,pyi]
|
||||
# args:
|
||||
# - --fix
|
||||
# - --select=B,C,E,F,W,B9
|
||||
# - --line-length=80
|
||||
# - --ignore=E203,E402,E501,E261
|
||||
# - id: ruff-format
|
||||
# types_or: [ python,pyi]
|
||||
# args:
|
||||
# - --target-version=py310
|
||||
# - --line-length=80
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.9.7
|
||||
hooks:
|
||||
- id: ruff
|
||||
types_or: [python,pyi]
|
||||
args:
|
||||
- --fix
|
||||
- --select=B,C,E,F,W,B9
|
||||
- --line-length=80
|
||||
- --ignore=E203,E402,E501,E261
|
||||
- id: ruff-format
|
||||
types_or: [ python,pyi]
|
||||
args:
|
||||
- --target-version=py310
|
||||
- --line-length=80
|
||||
|
||||
Reference in New Issue
Block a user