Skip to content

Commit c1aac46

Browse files
authored
πŸ”§ Tweak development scripts and configs after migration to PDM, Ruff, etc. (#797)
1 parent 525c777 commit c1aac46

File tree

8 files changed

+4
-35
lines changed

8 files changed

+4
-35
lines changed

β€Žpyproject.tomlβ€Ž

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,6 @@ excludes = ["typer", "tests", "pdm_build.py"]
102102
# doesn't override it during the build.
103103
source-includes = [""]
104104

105-
[tool.isort]
106-
profile = "black"
107-
known_third_party = ["typer", "click"]
108-
skip_glob = [
109-
"docs_src/subcommands/tutorial001/main.py",
110-
"docs_src/subcommands/tutorial003/lands.py",
111-
"docs_src/subcommands/tutorial003/main.py",
112-
]
113-
114105
[tool.pytest.ini_options]
115106
addopts = [
116107
"--strict-config",

β€Žrequirements-tests.txtβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-e .[all]
1+
-e .
22

33
pytest >=4.4.0,<8.0.0
44
pytest-cov >=2.10.0,<5.0.0

β€Žrequirements.txtβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-e .[all]
1+
-e .
22

33
-r requirements-tests.txt
44
-r requirements-docs.txt

β€Žscripts/format-imports.shβ€Ž

Lines changed: 0 additions & 6 deletions
This file was deleted.

β€Žscripts/format.shβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
set -x
33
set -e
44

5-
ruff typer tests docs_src scripts --fix
5+
ruff check typer tests docs_src scripts --fix
66
ruff format typer tests docs_src scripts

β€Žscripts/lint.shβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ set -e
44
set -x
55

66
mypy typer
7-
ruff typer tests docs_src
7+
ruff check typer tests docs_src
88
ruff format typer tests docs_src --check

β€Žscripts/publish.shβ€Ž

Lines changed: 0 additions & 5 deletions
This file was deleted.

β€Žscripts/zip-docs.shβ€Ž

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
Β (0)