Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Tweak development scripts and configs after migration to PDM, Ruff, etc. #797

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,6 @@ excludes = ["typer", "tests", "pdm_build.py"]
# doesn't override it during the build.
source-includes = [""]

[tool.isort]
profile = "black"
known_third_party = ["typer", "click"]
skip_glob = [
"docs_src/subcommands/tutorial001/main.py",
"docs_src/subcommands/tutorial003/lands.py",
"docs_src/subcommands/tutorial003/main.py",
]

[tool.pytest.ini_options]
addopts = [
"--strict-config",
Expand Down
2 changes: 1 addition & 1 deletion requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-e .[all]
-e .

pytest >=4.4.0,<8.0.0
pytest-cov >=2.10.0,<5.0.0
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-e .[all]
-e .

-r requirements-tests.txt
-r requirements-docs.txt
Expand Down
6 changes: 0 additions & 6 deletions scripts/format-imports.sh

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
set -x
set -e

ruff typer tests docs_src scripts --fix
ruff check typer tests docs_src scripts --fix
ruff format typer tests docs_src scripts
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ set -e
set -x

mypy typer
ruff typer tests docs_src
ruff check typer tests docs_src
ruff format typer tests docs_src --check
5 changes: 0 additions & 5 deletions scripts/publish.sh

This file was deleted.

11 changes: 0 additions & 11 deletions scripts/zip-docs.sh

This file was deleted.

Loading