-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: autoupdate pre-commit hooks (#4)
* DOC: make Colab TOC visible by default * DX: lint PRs with shared commitlint config * DX: merge `setup.cfg` into `pyproject.toml` * DX: switch to `black-jupyter` hook * DX: remove `.prettierrc` * DX: remove GitHub Issue templates * DX: synchronize ComPWA dev environment --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a9bc446
commit e55fda8
Showing
9 changed files
with
98 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
[formatting] | ||
align_comments = false | ||
align_entries = false | ||
allowed_blank_lines = 1 | ||
array_auto_collapse = false | ||
array_auto_expand = true | ||
array_trailing_comma = true | ||
column_width = 88 | ||
compact_inline_tables = true | ||
indent_string = " " | ||
reorder_arrays = true | ||
reorder_keys = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
{ | ||
"[git-commit]": { | ||
"editor.rulers": [72], | ||
"rewrap.wrappingColumn": 72 | ||
}, | ||
"[python]": { | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"editor.defaultFormatter": "ms-python.black-formatter", | ||
"editor.rulers": [88] | ||
}, | ||
"black-formatter.importStrategy": "fromEnvironment", | ||
"editor.formatOnSave": true, | ||
"python.analysis.typeCheckingMode": "strict", | ||
"python.formatting.provider": "black", | ||
"rewrap.wrappingColumn": 88, | ||
"ruff.enable": true, | ||
"ruff.importStrategy": "fromEnvironment" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ requires = [ | |
] | ||
|
||
[project] | ||
authors = [ | ||
{name = "Common Partial Wave Analysis", email = "[email protected]"}, | ||
] | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
|
@@ -42,12 +45,11 @@ keywords = [ | |
"physics", | ||
"tensorflow", | ||
] | ||
license = { file = "LICENSE" } | ||
license = {file = "LICENSE"} | ||
maintainers = [ | ||
{ name = "Common Partial Wave Analysis", email = "[email protected]" }, | ||
{name = "Common Partial Wave Analysis", email = "[email protected]"}, | ||
] | ||
name = "jax-mini-benchmark" | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
|
||
[project.optional-dependencies] | ||
|
@@ -58,6 +60,10 @@ sty = [ | |
"ruff", | ||
] | ||
|
||
[project.readme] | ||
content-type = "text/markdown" | ||
file = "README.md" | ||
|
||
[project.scripts] | ||
benchmark-jax = "jax_benchmark:main" | ||
benchmark-jax-dot-product = "jax_benchmark.dot_product:main" | ||
|
@@ -67,6 +73,15 @@ Documentation = "https://github.com/ComPWA/jax-mini-benchmark" | |
Source = "https://github.com/ComPWA/jax-mini-benchmark" | ||
Tracker = "https://github.com/ComPWA/jax-mini-benchmark/issues" | ||
|
||
[tool.setuptools.package-data] | ||
jax_benchmark = ["py.typed"] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "src/jax_benchmark/_version.py" | ||
|
||
[tool.black] | ||
exclude = ''' | ||
/( | ||
|
@@ -147,12 +162,16 @@ src = ["src"] | |
target-version = "py37" | ||
task-tags = ["cspell"] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["src"] | ||
|
||
[tool.setuptools.package-data] | ||
jax_benchmark = ["py.typed"] | ||
|
||
|
||
[tool.setuptools_scm] | ||
write_to = "src/jax_benchmark/_version.py" | ||
[tool.tomlsort] | ||
all = false | ||
ignore_case = true | ||
in_place = true | ||
sort_first = [ | ||
"build-system", | ||
"project", | ||
"tool.setuptools", | ||
"tool.setuptools_scm", | ||
] | ||
sort_table_keys = true | ||
spaces_indent_inline_array = 4 | ||
trailing_comma_inline_array = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters