Skip to content

Commit

Permalink
sweep: #7171 fix: fixes for release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Aug 15, 2023
1 parent bef4e37 commit 2150897
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ repos:
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: |
(?x)^(
src/DIRAC/Core/Security/test/certs/ca/ca.key.pem
)$
- id: check-yaml
- id: check-added-large-files

Expand Down
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ git_describe_command = "git describe --dirty --tags --long --match *[0-9].[0-9]*

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

[tool.isort]
profile = "black"

[tool.mypy]
allow_redefinition = true
Expand All @@ -28,6 +30,12 @@ exclude = [
'/tests/'
]


[tool.ruff]
select = ["E", "F", "B", "I", "PLE"]
ignore = ["B905", "B008", "B006"]
line-length = 120

[tool.pylint.basic]

# We mostly have CamelCase, with a few differences.
Expand Down Expand Up @@ -81,7 +89,7 @@ signature-mutators = []
[tool.pylint.format]

# Maximum number of characters on a single line.
max-line-length = 130
max-line-length = 120

[tool.pylint."messages control"]
disable = ["R0903","I0011","c-extension-no-member"]
Expand Down

0 comments on commit 2150897

Please sign in to comment.