Skip to content

Commit

Permalink
Add new hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Dec 19, 2024
1 parent bbf711b commit fffa3f5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ repos:
rev: v1.0.1
hooks:
- id: rst-linter
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args: ['reportportal_client', 'tests']
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
args: ['reportportal_client', 'tests']
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ requires = [
"importlib-metadata"
]
build-backend = "setuptools.build_meta"

[tool.isort]
line_length = 120

[tool.black]
line-length = 120
target-version = ['py310']

0 comments on commit fffa3f5

Please sign in to comment.