Skip to content

Commit 23b7407

Browse files
authored
Merge pull request #7173 from fstagni/cherry-pick-2-93f49657d-integration
[sweep:integration] fix: fixes for release notes
2 parents bef4e37 + 2150897 commit 23b7407

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ repos:
1515
hooks:
1616
- id: trailing-whitespace
1717
- id: end-of-file-fixer
18+
exclude: |
19+
(?x)^(
20+
src/DIRAC/Core/Security/test/certs/ca/ca.key.pem
21+
)$
1822
- id: check-yaml
1923
- id: check-added-large-files
2024

pyproject.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ git_describe_command = "git describe --dirty --tags --long --match *[0-9].[0-9]*
1010

1111
[tool.black]
1212
line-length = 120
13-
target-version = ['py39']
13+
target-version = ['py311']
1414

15+
[tool.isort]
16+
profile = "black"
1517

1618
[tool.mypy]
1719
allow_redefinition = true
@@ -28,6 +30,12 @@ exclude = [
2830
'/tests/'
2931
]
3032

33+
34+
[tool.ruff]
35+
select = ["E", "F", "B", "I", "PLE"]
36+
ignore = ["B905", "B008", "B006"]
37+
line-length = 120
38+
3139
[tool.pylint.basic]
3240

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

8391
# Maximum number of characters on a single line.
84-
max-line-length = 130
92+
max-line-length = 120
8593

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

0 commit comments

Comments
 (0)