Skip to content

Commit 0aa5fb7

Browse files
[repo-helper] Configuration Update (#56)
* 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 badcc50 commit 0aa5fb7

File tree

4 files changed

+24
-25
lines changed

4 files changed

+24
-25
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"
@@ -55,3 +51,7 @@ known_third_party = [
5551
"typing_extensions",
5652
]
5753
known_first_party = [ "flake8_github_actions",]
54+
55+
[config]
56+
indent = " "
57+
line_length = 115

pyproject.toml

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

18-
1918
[project.license]
2019
file = "LICENSE"
2120

@@ -24,6 +23,9 @@ Homepage = "https://github.com/python-formate/flake8-github-actions"
2423
"Issue Tracker" = "https://github.com/python-formate/flake8-github-actions/issues"
2524
"Source Code" = "https://github.com/python-formate/flake8-github-actions"
2625

26+
[project.entry-points."flake8.report"]
27+
github = "flake8_github_actions:GitHubFormatter"
28+
2729
[tool.whey]
2830
base-classifiers = [
2931
"Development Status :: 4 - Beta",
@@ -49,19 +51,6 @@ show_error_codes = true
4951
[tool.snippet-fmt]
5052
directives = [ "code-block",]
5153

52-
[tool.dep_checker]
53-
allowed_unused = [ "flake8",]
54-
55-
[project.entry-points."flake8.report"]
56-
github = "flake8_github_actions:GitHubFormatter"
57-
58-
[tool.dependency-dash."requirements.txt"]
59-
order = 10
60-
61-
[tool.dependency-dash."tests/requirements.txt"]
62-
order = 20
63-
include = false
64-
6554
[tool.snippet-fmt.languages.python]
6655
reformat = true
6756

@@ -71,3 +60,13 @@ reformat = true
7160
[tool.snippet-fmt.languages.ini]
7261

7362
[tool.snippet-fmt.languages.json]
63+
64+
[tool.dep_checker]
65+
allowed_unused = [ "flake8",]
66+
67+
[tool.dependency-dash."requirements.txt"]
68+
order = 10
69+
70+
[tool.dependency-dash."tests/requirements.txt"]
71+
order = 20
72+
include = false

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ exclude_lines =
158158
raise NotImplementedError
159159
if 0:
160160
if False:
161-
if TYPE_CHECKING:
162-
if typing.TYPE_CHECKING:
161+
if TYPE_CHECKING
162+
if typing.TYPE_CHECKING
163163
if __name__ == .__main__.:
164164
165165
[check-wheel-contents]

0 commit comments

Comments
 (0)