Skip to content

Commit c39d74c

Browse files
[repo-helper] Configuration Update (#30)
* Updated files with 'repo_helper'. * Updated files with 'repo_helper'. * Updated files with 'repo_helper'. --------- Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent a14e406 commit c39d74c

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
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"
@@ -33,3 +29,7 @@ remove_redundant_aliases = true
3329
default_section = "THIRDPARTY"
3430
known_third_party = [ "domdf_python_tools", "pytest", "tox",]
3531
known_first_party = [ "testing_tox",]
32+
33+
[config]
34+
indent = " "
35+
line_length = 115

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ dynamic = [ "requires-python", "classifiers", "dependencies",]
1414
name = "Dominic Davis-Foster"
1515
email = "dominic@davis-foster.co.uk"
1616

17-
1817
[project.license]
1918
file = "LICENSE"
2019

@@ -53,9 +52,6 @@ show_error_codes = true
5352
[tool.snippet-fmt]
5453
directives = [ "code-block",]
5554

56-
[tool.dependency-dash."requirements.txt"]
57-
order = 10
58-
5955
[tool.snippet-fmt.languages.python]
6056
reformat = true
6157

@@ -65,3 +61,6 @@ reformat = true
6561
[tool.snippet-fmt.languages.ini]
6662

6763
[tool.snippet-fmt.languages.json]
64+
65+
[tool.dependency-dash."requirements.txt"]
66+
order = 10

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ deps =
110110
flake8-github-actions>=0.1.0
111111
flake8-noqa>=1.1.0,<=1.2.2
112112
flake8-pyi>=20.10.0,<=22.8.0
113-
flake8-pytest-style>=1.3.0
113+
flake8-pytest-style>=1.3.0,<2
114114
flake8-quotes>=3.3.0
115115
flake8-slots>=0.1.0
116116
flake8-sphinx-links>=0.0.4

0 commit comments

Comments
 (0)