Skip to content

Commit 5a894ce

Browse files
[repo-helper] Configuration Update (#20)
* 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 3b86ccf commit 5a894ce

File tree

3 files changed

+22
-23
lines changed

3 files changed

+22
-23
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"
@@ -45,3 +41,7 @@ known_third_party = [
4541
"tokenize_rt",
4642
]
4743
known_first_party = [ "emoji_strings",]
44+
45+
[config]
46+
indent = " "
47+
line_length = 115

pyproject.toml

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

13+
[project.license]
14+
file = "LICENSE"
15+
1316
[[project.authors]]
1417
name = "Dominic Davis-Foster"
1518
email = "dominic@davis-foster.co.uk"
1619

17-
18-
[project.license]
19-
file = "LICENSE"
20-
2120
[project.urls]
2221
Homepage = "https://github.com/domdfcoding/emoji-strings"
2322
"Issue Tracker" = "https://github.com/domdfcoding/emoji-strings/issues"
@@ -31,6 +30,9 @@ platforms = [ "Windows", "macOS", "Linux",]
3130
license-key = "MIT"
3231
package = "emoji_strings"
3332

33+
[tool.whey.builders]
34+
wheel = "whey_pth_wheel"
35+
3436
[tool.whey-pth]
3537
name = "aaaaa_emoji_strings"
3638
pth-content = "import sys, emoji_strings; del sys.modules['emoji_strings']\n"
@@ -46,16 +48,6 @@ show_error_codes = true
4648
[tool.snippet-fmt]
4749
directives = [ "code-block",]
4850

49-
[tool.whey.builders]
50-
wheel = "whey_pth_wheel"
51-
52-
[tool.dependency-dash."requirements.txt"]
53-
order = 10
54-
55-
[tool.dependency-dash."tests/requirements.txt"]
56-
order = 20
57-
include = false
58-
5951
[tool.snippet-fmt.languages.python]
6052
reformat = true
6153

@@ -65,3 +57,10 @@ reformat = true
6557
[tool.snippet-fmt.languages.ini]
6658

6759
[tool.snippet-fmt.languages.json]
60+
61+
[tool.dependency-dash."requirements.txt"]
62+
order = 10
63+
64+
[tool.dependency-dash."tests/requirements.txt"]
65+
order = 20
66+
include = false

0 commit comments

Comments
 (0)