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