File tree Expand file tree Collapse file tree 3 files changed +23
-6
lines changed Expand file tree Collapse file tree 3 files changed +23
-6
lines changed Original file line number Diff line number Diff line change
1
+ # Keep GitHub Actions up to date with GitHub's Dependabot...
2
+ # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
3
+ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
4
+ version : 2
5
+ updates :
6
+ - package-ecosystem : github-actions
7
+ directory : /
8
+ groups :
9
+ github-actions :
10
+ patterns :
11
+ - " *" # Group all Actions updates into a single larger pull request
12
+ schedule :
13
+ interval : weekly
Original file line number Diff line number Diff line change 11
11
- run : pip install --upgrade pip setuptools wheel
12
12
- run : pip install --editable ".[dev]"
13
13
- run : codespell .
14
- - run : ruff --format=github .
14
+ - run : ruff --output- format=github .
15
15
- run : black --check .
16
16
- run : mypy .
17
17
- run : pytest -vv .
Original file line number Diff line number Diff line change @@ -69,6 +69,10 @@ exclude = ["build/"]
69
69
ignore_missing_imports = true
70
70
71
71
[tool .ruff ]
72
+ line-length = 88 # Recommended: 88
73
+ target-version = " py38"
74
+
75
+ [tool .ruff .lint ]
72
76
select = [
73
77
" A" ,
74
78
" B" ,
@@ -96,17 +100,17 @@ select = [
96
100
" W" ,
97
101
" YTT" ,
98
102
]
99
- line-length = 88 # Recommended: 88
100
- target-version = " py37"
101
103
102
- [tool .ruff .mccabe ]
104
+ [tool .ruff .lint . mccabe ]
103
105
max-complexity = 24 # Recommended: 10
104
106
105
- [tool .ruff .pylint ]
107
+ [tool .ruff .lint . pylint ]
106
108
max-args = 6 # Recommended: 5
107
109
max-branches = 25 # Recommended: 12
108
110
max-returns = 6 # Recommended: 6
109
111
max-statements = 89 # Recommended: 50
110
112
111
- [tool .ruff .per-file-ignores ]
113
+ [tool .ruff .lint . per-file-ignores ]
112
114
"test/*" = [" C406" , " S101" , " SIM115" ]
115
+ "test/_prepare_outputs.py" = [" PLW1510" , " S603" , " S607" ]
116
+ "test/test_outputs.py" = [" PLW1510" , " S603" , " S607" ]
You can’t perform that action at this time.
0 commit comments