Skip to content

Commit

Permalink
Reduce maxline length to match black
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar authored and alinelena committed Mar 4, 2024
1 parent 863497b commit 10c0c19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ repos:
rev: 5.13.2
hooks:
- id: isort
args: ["--profile=black"]

- repo: https://github.com/psf/black
rev: 24.1.1
hooks:
- id: black
args: [--line-length=88]

- repo: local
hooks:
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@ torch-dftd = "^0.4.0"
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 88

[tool.pylint.format]
max-line-length = 125
max-line-length = 88
max-args = 10
good-names = ["e"]

Expand All @@ -82,7 +85,7 @@ source=["janus_core"]

[tool.isort]
# Configuration of [isort](https://isort.readthedocs.io)
line_length = 120
line_length = 88
force_sort_within_sections = true
sections = ['FUTURE', 'STDLIB', 'THIRDPARTY', 'FIRSTPARTY', 'LOCALFOLDER']

Expand Down

0 comments on commit 10c0c19

Please sign in to comment.