-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update precommit * update pre-commit
- Loading branch information
Showing
5 changed files
with
51 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,21 @@ repos: | |
rev: v0.9.6 | ||
hooks: | ||
- id: ruff | ||
types_or: [python, pyi, jupyter] | ||
args: ["--fix"] | ||
- id: ruff-format | ||
types_or: [python, pyi, jupyter] | ||
# The following can be removed once PLR0917 is out of preview | ||
- name: ruff preview rules | ||
id: ruff | ||
types_or: [python, pyi, jupyter] | ||
args: ["--preview", "--select=PLR0917"] | ||
- repo: https://github.com/biomejs/pre-commit | ||
rev: v0.6.1 | ||
hooks: | ||
- id: biome-format | ||
additional_dependencies: ["@biomejs/[email protected]"] | ||
- repo: https://github.com/ComPWA/taplo-pre-commit | ||
rev: v0.9.3 | ||
hooks: | ||
- id: taplo-format | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v5.0.0 | ||
hooks: | ||
|
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,5 @@ | ||
[formatting] | ||
array_auto_collapse = false | ||
column_width = 120 | ||
compact_arrays = false | ||
indent_string = ' ' |
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,20 +1,20 @@ | ||
/* for the sphinx design cards */ | ||
body { | ||
--sd-color-shadow: dimgrey; | ||
--sd-color-shadow: dimgrey; | ||
} | ||
|
||
dl.citation>dt { | ||
float: left; | ||
margin-right: 15px; | ||
font-weight: bold; | ||
dl.citation > dt { | ||
float: left; | ||
margin-right: 15px; | ||
font-weight: bold; | ||
} | ||
|
||
/* for custom small role */ | ||
.small { | ||
font-size: 40% !important | ||
font-size: 40% !important; | ||
} | ||
|
||
.smaller, | ||
.pr { | ||
font-size: 70% !important | ||
font-size: 70% !important; | ||
} |
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,16 +1,16 @@ | ||
[envs.default] | ||
installer = "uv" | ||
features = ["dev"] | ||
features = [ "dev" ] | ||
|
||
[envs.hatch-test] | ||
features = ["test", "rapids12"] | ||
features = [ "test", "rapids12" ] | ||
|
||
[envs.docs] | ||
features = ["doc"] | ||
features = [ "doc" ] | ||
scripts.build = "sphinx-build -M html docs docs/_build {args}" | ||
scripts.clean = "git clean -fXd docs" | ||
|
||
[envs.default.pip] | ||
extra_index_urls = [ | ||
"https://pypi.nvidia.com" | ||
"https://pypi.nvidia.com", | ||
] |
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