Skip to content

Commit a71fc5b

Browse files
[repo-helper] Configuration Update (#36)
* 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 46de939 commit a71fc5b

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
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 = [ "pytest",]
3531
known_first_party = [ "pytest_mypy_plugins_shim",]
32+
33+
[config]
34+
indent = " "
35+
line_length = 115

pyproject.toml

Lines changed: 6 additions & 7 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

@@ -23,6 +22,9 @@ Homepage = "https://github.com/python-coincidence/pytest-mypy-plugins-shim"
2322
"Issue Tracker" = "https://github.com/python-coincidence/pytest-mypy-plugins-shim/issues"
2423
"Source Code" = "https://github.com/python-coincidence/pytest-mypy-plugins-shim"
2524

25+
[project.entry-points.pytest11]
26+
pytest-mypy-plugins-shim = "pytest_mypy_plugins_shim"
27+
2628
[tool.importcheck]
2729
always = [ "pytest_mypy_plugins_shim",]
2830

@@ -45,12 +47,6 @@ show_error_codes = true
4547
[tool.snippet-fmt]
4648
directives = [ "code-block",]
4749

48-
[project.entry-points.pytest11]
49-
pytest-mypy-plugins-shim = "pytest_mypy_plugins_shim"
50-
51-
[tool.dependency-dash."requirements.txt"]
52-
order = 10
53-
5450
[tool.snippet-fmt.languages.python]
5551
reformat = true
5652

@@ -60,3 +56,6 @@ reformat = true
6056
[tool.snippet-fmt.languages.ini]
6157

6258
[tool.snippet-fmt.languages.json]
59+
60+
[tool.dependency-dash."requirements.txt"]
61+
order = 10

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ deps =
9898
flake8-github-actions>=0.1.0
9999
flake8-noqa>=1.1.0,<=1.2.2
100100
flake8-pyi>=20.10.0,<=22.8.0
101-
flake8-pytest-style>=1.3.0
101+
flake8-pytest-style>=1.3.0,<2
102102
flake8-quotes>=3.3.0
103103
flake8-slots>=0.1.0
104104
flake8-sphinx-links>=0.0.4

0 commit comments

Comments
 (0)