Skip to content

Commit

Permalink
Re-add root level pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
prrao87 committed Oct 16, 2024
1 parent c5130a3 commit f44d7a1
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[tool.mypy]
check_untyped_defs = true
disallow_untyped_defs = true
plugins = ["pydantic.mypy"]

[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false

[[tool.mypy.overrides]]
module = ["asyncpg.*", "srsly.*"]
ignore_missing_imports = true

[tool.ruff]
line-length = 100
target-version = "py38"
fix = true

[tool.ruff.lint]
select=["E", "F", "UP", "I001"]
ignore=[
# Recommened ignores by ruff when using formatter
"E501",
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002",
]

0 comments on commit f44d7a1

Please sign in to comment.