Skip to content

Commit

Permalink
🔧 Tweak lint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed May 2, 2024
1 parent c624dae commit e62f784
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,9 @@ exclude_lines = [

[tool.mypy]
strict = true

# [[tool.mypy.overrides]]
# module = "shellingham"
# ignore_missing_imports = true
exclude = [
"tests/assets/*",
]

[tool.ruff.lint]
select = [
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
set -e
set -x

mypy src tests scripts
mypy src tests
ruff check src tests scripts
ruff format src tests --check

0 comments on commit e62f784

Please sign in to comment.