Skip to content

Commit 717a6c2

Browse files
[pre-commit.ci] pre-commit autoupdate (#1434)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.14.14 → v0.15.0](astral-sh/ruff-pre-commit@v0.14.14...v0.15.0) - [github.com/tox-dev/pyproject-fmt: v2.12.1 → v2.15.0](tox-dev/pyproject-fmt@v2.12.1...v2.15.0) * [pre-commit.ci] auto fixes from pre-commit hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 27af406 commit 717a6c2

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ exclude: (^hls4ml\/templates\/(vivado|quartus)\/(ap_types|ac_types)\/|^test/pyte
22

33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: v0.14.14
5+
rev: v0.15.0
66
hooks:
77
- id: ruff
88
args: [--fix]
99
- id: ruff-format
1010

1111
- repo: https://github.com/tox-dev/pyproject-fmt
12-
rev: v2.12.1
12+
rev: v2.15.0
1313
hooks:
1414
- id: pyproject-fmt
1515

pyproject.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
43
requires = [ "setuptools>=61", "setuptools-scm>=8" ]
54

65
[project]
@@ -27,7 +26,6 @@ classifiers = [
2726
]
2827
dynamic = [ "version" ]
2928
dependencies = [ "h5py", "numpy", "pydigitalwavetools==1.1", "pyyaml", "quantizers" ]
30-
3129
optional-dependencies.da = [ "da4ml>=0.5.2,<0.6" ]
3230
optional-dependencies.doc = [
3331
"sphinx",
@@ -83,7 +81,6 @@ packages = [ "hls4ml" ]
8381
include-package-data = true
8482

8583
[tool.setuptools_scm]
86-
8784
version_scheme = "release-branch-semver"
8885
git_describe_command = [
8986
"git",
@@ -99,22 +96,19 @@ write_to = "hls4ml/_version.py"
9996

10097
[tool.ruff]
10198
target-version = "py310"
102-
10399
line-length = 125
104100
indent-width = 4
105101
include = [ "hls4ml/**/*.py", "tests/**/*.py" ]
106102
exclude = [ "hls4ml/_version.py", "hls4ml/templates/**" ]
107-
108103
format.quote-style = "single"
109104
format.skip-magic-trailing-comma = false
110105
format.docstring-code-line-length = 125
111106
format.docstring-code-format = true
112107
lint.select = [ "E", "F", "F401", "I", "W" ]
113108
lint.ignore = [ "E741" ]
114109
lint.per-file-ignores = { "__init__.py" = [ "F401" ] }
115-
116110
lint.fixable = [ "ALL" ]
117-
lint.unfixable = [ ]
111+
lint.unfixable = []
118112

119113
[tool.check-manifest]
120114
ignore = [

0 commit comments

Comments
 (0)