Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
gsheni authored Jun 27, 2024
1 parent 7b4fc9f commit 8766328
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,14 @@ build-backend = "setuptools.build_meta"
preview = true
line-length = 100
indent-width = 4
src = ["sdmetrics"]
target-version = "py312"
src = ["sdv"]
exclude = [
"docs",
".tox",
".git",
"__pycache__",
".ipynb_checkpoints"
".ipynb_checkpoints",
"tasks.py",
]

[tool.ruff.lint]
Expand All @@ -196,14 +196,22 @@ select = [
# Pycodestyle
"E",
"W",
"D200",
# pydocstyle
"D",
# isort
"I001",
# print statements
"T201",
# pandas-vet
"PD"
]
ignore = [
"E501",
# pydocstyle
"D107", # Missing docstring in __init__
"D417", # Missing argument descriptions in the docstring, this is a bug from pydocstyle: https://github.com/PyCQA/pydocstyle/issues/449
"PD901",
"PD101",
]

[tool.ruff.format]
Expand All @@ -213,14 +221,15 @@ preview = true
docstring-code-format = true
docstring-code-line-length = "dynamic"

[tool.ruff.lint.pep8-naming]
extend-ignore-names = ["X", "C", "X_padded", "Y", "Y_padded"]

[tool.ruff.lint.isort]
known-first-party = ["sdmetrics"]
lines-between-types = 0

[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E402", "F403", "F405", "E501", "I001"]
"errors.py" = ["D105"]
"tests/**.py" = ["D"]

[tool.ruff.lint.pydocstyle]
convention = "google"
max-doc-length = 100

0 comments on commit 8766328

Please sign in to comment.