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