Skip to content

Commit

Permalink
[repo-helper] Configuration Update (#9)
Browse files Browse the repository at this point in the history
* Updated files with 'repo_helper'.

* Updated files with 'repo_helper'.

---------

Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
  • Loading branch information
repo-helper[bot] authored Apr 16, 2024
1 parent ddc5f06 commit 9b87fc4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ci:

repos:
- repo: https://github.com/repo-helper/pyproject-parser
rev: v0.9.1
rev: v0.11.0
hooks:
- id: reformat-pyproject

Expand Down
16 changes: 8 additions & 8 deletions formate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,17 @@ noqa-reformat = 60
ellipsis-reformat = 70
squish_stubs = 80

[config]
indent = "\t"
line_length = 115

[hooks.yapf]
priority = 30

[hooks.isort]
priority = 50

[hooks.yapf.kwargs]
yapf_style = ".style.yapf"

[hooks.isort]
priority = 50

[hooks.isort.kwargs]
indent = "\t\t"
indent = " "
multi_line_output = 8
import_heading_stdlib = "stdlib"
import_heading_thirdparty = "3rd party"
Expand All @@ -43,3 +39,7 @@ known_third_party = [
"scikit_learn",
]
known_first_party = [ "gunshotmatch_cli",]

[config]
indent = " "
line_length = 115
17 changes: 8 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ dynamic = [ "requires-python", "classifiers", "dependencies",]
name = "Dominic Davis-Foster"
email = "[email protected]"


[project.license]
file = "LICENSE"

Expand Down Expand Up @@ -48,14 +47,6 @@ show_error_codes = true
[tool.snippet-fmt]
directives = [ "code-block",]

[tool.dependency-dash."requirements.txt"]
order = 10

[tool.dep_checker.name_mapping]
attrs = "attr"
pymassspec = "pyms"
scikit-learn = "sklearn"

[tool.snippet-fmt.languages.python]
reformat = true

Expand All @@ -65,3 +56,11 @@ reformat = true
[tool.snippet-fmt.languages.ini]

[tool.snippet-fmt.languages.json]

[tool.dependency-dash."requirements.txt"]
order = 10

[tool.dep_checker.name_mapping]
attrs = "attr"
pymassspec = "pyms"
scikit-learn = "sklearn"

0 comments on commit 9b87fc4

Please sign in to comment.