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