Skip to content

Commit 77331c2

Browse files
[repo-helper] Configuration Update (#14)
* 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 33233b7 commit 77331c2

File tree

4 files changed

+23
-24
lines changed

4 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"
@@ -44,3 +40,7 @@ known_third_party = [
4440
"pytest_timeout",
4541
]
4642
known_first_party = [ "flake8_missing_annotations",]
43+
44+
[config]
45+
indent = " "
46+
line_length = 115

pyproject.toml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ dynamic = [ "requires-python", "classifiers", "dependencies",]
1414
name = "Dominic Davis-Foster"
1515
1616

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

@@ -23,6 +22,9 @@ Homepage = "https://github.com/python-formate/flake8-missing-annotations"
2322
"Issue Tracker" = "https://github.com/python-formate/flake8-missing-annotations/issues"
2423
"Source Code" = "https://github.com/python-formate/flake8-missing-annotations"
2524

25+
[project.entry-points."flake8.extension"]
26+
MAN = "flake8_missing_annotations:Plugin"
27+
2628
[tool.whey]
2729
base-classifiers = [
2830
"Development Status :: 4 - Beta",
@@ -48,28 +50,25 @@ show_error_codes = true
4850
[tool.snippet-fmt]
4951
directives = [ "code-block",]
5052

53+
[tool.snippet-fmt.languages.python]
54+
reformat = true
55+
56+
[tool.snippet-fmt.languages.TOML]
57+
reformat = true
58+
59+
[tool.snippet-fmt.languages.ini]
60+
61+
[tool.snippet-fmt.languages.json]
62+
5163
[tool.dep_checker]
5264
allowed_unused = [ "flake8",]
5365

5466
[tool.importcheck]
5567
always = [ "flake8_missing_annotations",]
5668

57-
[project.entry-points."flake8.extension"]
58-
MAN = "flake8_missing_annotations:Plugin"
59-
6069
[tool.dependency-dash."requirements.txt"]
6170
order = 10
6271

6372
[tool.dependency-dash."tests/requirements.txt"]
6473
order = 20
6574
include = false
66-
67-
[tool.snippet-fmt.languages.python]
68-
reformat = true
69-
70-
[tool.snippet-fmt.languages.TOML]
71-
reformat = true
72-
73-
[tool.snippet-fmt.languages.ini]
74-
75-
[tool.snippet-fmt.languages.json]

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ deps =
8888
flake8-github-actions>=0.1.0
8989
flake8-noqa>=1.1.0,<=1.2.2
9090
flake8-pyi>=20.10.0,<=22.8.0
91-
flake8-pytest-style>=1.3.0
91+
flake8-pytest-style>=1.3.0,<2
9292
flake8-quotes>=3.3.0
9393
flake8-slots>=0.1.0
9494
flake8-sphinx-links>=0.0.4

0 commit comments

Comments
 (0)