|
1 | 1 | [build-system] |
2 | | -requires = ["hatchling"] |
3 | | -build-backend = "hatchling.build" |
| 2 | +requires = [ |
| 3 | + "hatchling", |
| 4 | +] |
| 5 | +build-backend="hatchling.build" |
4 | 6 |
|
5 | 7 | [project] |
6 | 8 | name = "hatch-cpp" |
7 | | -authors = [{name = "the hatch-cpp authors", email = "t.paine154@gmail.com"}] |
| 9 | +authors = [ |
| 10 | + {name = "the hatch-cpp authors", email = "t.paine154@gmail.com"}, |
| 11 | +] |
8 | 12 | description = "Hatch plugin for C++ builds" |
9 | 13 | readme = "README.md" |
10 | 14 | license = { text = "Apache-2.0" } |
@@ -54,6 +58,7 @@ develop = [ |
54 | 58 | "pytest-cov", |
55 | 59 | "ruff>=0.9,<0.15", |
56 | 60 | "twine", |
| 61 | + "ty", |
57 | 62 | "uv", |
58 | 63 | "wheel", |
59 | 64 | # test |
@@ -118,26 +123,46 @@ artifacts = [] |
118 | 123 | src = "/" |
119 | 124 |
|
120 | 125 | [tool.hatch.build.targets.sdist] |
121 | | -packages = ["hatch_cpp"] |
| 126 | +packages = [ |
| 127 | + "hatch_cpp", |
| 128 | +] |
122 | 129 |
|
123 | 130 | [tool.hatch.build.targets.wheel] |
124 | | -packages = ["hatch_cpp"] |
| 131 | +packages = [ |
| 132 | + "hatch_cpp", |
| 133 | +] |
125 | 134 |
|
126 | 135 | [tool.pytest.ini_options] |
127 | | -addopts = ["-vvv", "--junitxml=junit.xml"] |
| 136 | +addopts = [ |
| 137 | + "-vvv", |
| 138 | + "--junitxml=junit.xml", |
| 139 | +] |
128 | 140 | testpaths = "hatch_cpp/tests" |
129 | 141 |
|
130 | 142 | [tool.ruff] |
131 | 143 | line-length = 150 |
132 | 144 |
|
133 | 145 | [tool.ruff.lint] |
134 | | -extend-select = ["I"] |
| 146 | +extend-select = [ |
| 147 | + "I", |
| 148 | +] |
135 | 149 |
|
136 | 150 | [tool.ruff.lint.isort] |
137 | 151 | combine-as-imports = true |
138 | 152 | default-section = "third-party" |
139 | | -known-first-party = ["hatch_cpp"] |
140 | | -section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"] |
| 153 | +known-first-party = [ |
| 154 | + "hatch_cpp", |
| 155 | +] |
| 156 | +section-order = [ |
| 157 | + "future", |
| 158 | + "standard-library", |
| 159 | + "third-party", |
| 160 | + "first-party", |
| 161 | + "local-folder", |
| 162 | +] |
141 | 163 |
|
142 | 164 | [tool.ruff.lint.per-file-ignores] |
143 | | -"__init__.py" = ["F401", "F403"] |
| 165 | +"__init__.py" = [ |
| 166 | + "F401", |
| 167 | + "F403", |
| 168 | +] |
0 commit comments