Skip to content

Commit

Permalink
pre-commit tools added
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatajagannath committed May 29, 2024
1 parent 0bb96f0 commit 0dd945b
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,31 @@ version = { attr = "anyscale_provider.__version__" }
exclude = [
"*tests.*",
"*tests"
]
]

######################################
# THIRD PARTY TOOLS
######################################
[tool.black]
line-length = 120
target-version = ['py37', 'py38', 'py39', 'py310']

[tool.isort]
profile = "black"
known_third_party = ["airflow", "jinja2"]

[tool.mypy]
strict = true
ignore_missing_imports = true
no_warn_unused_ignores = true

[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["C901", "I", "F"]
ignore = ["F541"]
[tool.ruff.lint.mccabe]
max-complexity = 10

[tool.distutils.bdist_wheel]
universal = true

0 comments on commit 0dd945b

Please sign in to comment.