File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,17 @@ include = [
121121 " code-of-conduct.md" ,
122122]
123123
124+ [tool .check-sdist ]
125+ git-only = [
126+ " tests" ,
127+ " docs" ,
128+ " deployment" ,
129+ " .coveragerc" ,
130+ " .dockerignore" ,
131+ " shell.nix"
132+ ]
133+ default-ignore = true
134+
124135[tool .isort ]
125136profile = " black"
126137
@@ -161,6 +172,7 @@ dependencies = [
161172 " mypy-extensions==1.0.0" ,
162173 " ruff==0.4.8" ,
163174 " isort==5.13.2" ,
175+ " check-sdist==0.1.3" ,
164176 " sqlalchemy[mypy]==1.4.41" ,
165177 " types-aiofiles" ,
166178 " types-protobuf" ,
@@ -176,6 +188,7 @@ style = [
176188 " black --check --diff {args:} ./src/ ./tests/" ,
177189 " isort --check-only --profile black {args:} ./src/ ./tests/" ,
178190]
191+ sdist = " check-sdist --inject-junk"
179192fmt = [
180193 " black {args:} ./src/ ./tests/" ,
181194 " ruff check --fix {args:.} ./src/ ./tests/" ,
@@ -185,6 +198,7 @@ fmt = [
185198all = [
186199 " style" ,
187200 " typing" ,
201+ " sdist" ,
188202]
189203
190204[tool .mypy ]
You can’t perform that action at this time.
0 commit comments