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