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