|
1 | 1 | [build-system] |
2 | | -requires = ["hatchling"] |
| 2 | +requires = [ |
| 3 | + "hatchling", |
| 4 | +] |
3 | 5 | build-backend="hatchling.build" |
4 | 6 |
|
5 | 7 | [project] |
6 | 8 | name = "hatch-rs" |
7 | | -authors = [{name = "the hatch-rs authors", email = "t.paine154@gmail.com"}] |
| 9 | +authors = [ |
| 10 | + {name = "the hatch-rs authors", email = "t.paine154@gmail.com"}, |
| 11 | +] |
8 | 12 | description = "Hatch plugin for Rust builds" |
9 | 13 | readme = "README.md" |
10 | 14 | license = { text = "Apache-2.0" } |
@@ -48,6 +52,7 @@ develop = [ |
48 | 52 | "pytest-cov", |
49 | 53 | "ruff>=0.9,<0.15", |
50 | 54 | "twine", |
| 55 | + "ty", |
51 | 56 | "uv", |
52 | 57 | "wheel", |
53 | 58 | ] |
@@ -106,28 +111,48 @@ artifacts = [] |
106 | 111 | src = "/" |
107 | 112 |
|
108 | 113 | [tool.hatch.build.targets.sdist] |
109 | | -packages = ["hatch_rs"] |
| 114 | +packages = [ |
| 115 | + "hatch_rs", |
| 116 | +] |
110 | 117 |
|
111 | 118 | [tool.hatch.build.targets.wheel] |
112 | | -packages = ["hatch_rs"] |
| 119 | +packages = [ |
| 120 | + "hatch_rs", |
| 121 | +] |
113 | 122 |
|
114 | 123 | [tool.hatch.build.targets.wheel.shared-data] |
115 | 124 |
|
116 | 125 | [tool.pytest.ini_options] |
117 | | -addopts = ["-vvv", "--junitxml=junit.xml"] |
| 126 | +addopts = [ |
| 127 | + "-vvv", |
| 128 | + "--junitxml=junit.xml", |
| 129 | +] |
118 | 130 | testpaths = "hatch_rs/tests" |
119 | 131 |
|
120 | 132 | [tool.ruff] |
121 | 133 | line-length = 150 |
122 | 134 |
|
123 | 135 | [tool.ruff.lint] |
124 | | -extend-select = ["I"] |
| 136 | +extend-select = [ |
| 137 | + "I", |
| 138 | +] |
125 | 139 |
|
126 | 140 | [tool.ruff.lint.isort] |
127 | 141 | combine-as-imports = true |
128 | 142 | default-section = "third-party" |
129 | | -known-first-party = ["hatch_rs"] |
130 | | -section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"] |
| 143 | +known-first-party = [ |
| 144 | + "hatch_rs", |
| 145 | +] |
| 146 | +section-order = [ |
| 147 | + "future", |
| 148 | + "standard-library", |
| 149 | + "third-party", |
| 150 | + "first-party", |
| 151 | + "local-folder", |
| 152 | +] |
131 | 153 |
|
132 | 154 | [tool.ruff.lint.per-file-ignores] |
133 | | -"__init__.py" = ["F401", "F403"] |
| 155 | +"__init__.py" = [ |
| 156 | + "F401", |
| 157 | + "F403", |
| 158 | +] |
0 commit comments