Skip to content

Commit b3a3628

Browse files
[repo-helper] Configuration Update (#48)
* Updated files with 'repo_helper'. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updated files with 'repo_helper'. --------- Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent bf9f637 commit b3a3628

File tree

3 files changed

+23
-24
lines changed

3 files changed

+23
-24
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/repo-helper/pyproject-parser
11-
rev: v0.9.1
11+
rev: v0.11.0
1212
hooks:
1313
- id: reformat-pyproject
1414

formate.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,17 @@ noqa-reformat = 60
66
ellipsis-reformat = 70
77
squish_stubs = 80
88

9-
[config]
10-
indent = "\t"
11-
line_length = 115
12-
139
[hooks.yapf]
1410
priority = 30
1511

16-
[hooks.isort]
17-
priority = 50
18-
1912
[hooks.yapf.kwargs]
2013
yapf_style = ".style.yapf"
2114

15+
[hooks.isort]
16+
priority = 50
17+
2218
[hooks.isort.kwargs]
23-
indent = "\t\t"
19+
indent = " "
2420
multi_line_output = 8
2521
import_heading_stdlib = "stdlib"
2622
import_heading_thirdparty = "3rd party"
@@ -49,3 +45,7 @@ known_third_party = [
4945
"toml",
5046
]
5147
known_first_party = [ "sphinx_pyproject",]
48+
49+
[config]
50+
indent = " "
51+
line_length = 115

pyproject.toml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ readme = "README.rst"
1010
keywords = [ "documentation", "pep621", "sphinx", "toml",]
1111
dynamic = [ "requires-python", "classifiers", "dependencies",]
1212

13+
[project.license]
14+
file = "LICENSE"
15+
1316
[[project.authors]]
1417
name = "Dominic Davis-Foster"
1518
1619

17-
18-
[project.license]
19-
file = "LICENSE"
20-
2120
[project.urls]
2221
Homepage = "https://github.com/sphinx-toolbox/sphinx-pyproject"
2322
"Issue Tracker" = "https://github.com/sphinx-toolbox/sphinx-pyproject/issues"
@@ -139,17 +138,6 @@ show_error_codes = true
139138
[tool.snippet-fmt]
140139
directives = [ "code-block",]
141140

142-
[tool.dependency-dash."requirements.txt"]
143-
order = 10
144-
145-
[tool.dependency-dash."tests/requirements.txt"]
146-
order = 20
147-
include = false
148-
149-
[tool.dependency-dash."doc-source/requirements.txt"]
150-
order = 30
151-
include = false
152-
153141
[tool.snippet-fmt.languages.python]
154142
reformat = true
155143

@@ -161,3 +149,14 @@ reformat = true
161149
[tool.snippet-fmt.languages.ini]
162150

163151
[tool.snippet-fmt.languages.json]
152+
153+
[tool.dependency-dash."requirements.txt"]
154+
order = 10
155+
156+
[tool.dependency-dash."tests/requirements.txt"]
157+
order = 20
158+
include = false
159+
160+
[tool.dependency-dash."doc-source/requirements.txt"]
161+
order = 30
162+
include = false

0 commit comments

Comments
 (0)