Skip to content

Commit

Permalink
Move ruff config into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
freddyheppell committed Jun 6, 2024
1 parent 5bf20e4 commit 4a3175d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 21 deletions.
23 changes: 23 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,26 @@ Repository = "https://github.com/MaartenGr/BERTopic.git"
[tool.setuptools.packages.find]
include = ["bertopic*"]
exclude = ["tests"]

[tool.ruff]
target-version = "py38"

[tool.ruff.lint]
select = [
"E4", # Ruff Defaults
"E7",
"E9",
"F", # End Ruff Defaults,
"D"
]

ignore = [
"D100", # Missing docstring in public module
"D104" # Missing docstring in public package
]

[tool.ruff.lint.per-file-ignores]
"**/tests/*" = ["D"] # Ignore all docstring errors in tests

[tool.ruff.lint.pydocstyle]
convention = "google"
21 changes: 0 additions & 21 deletions ruff.toml

This file was deleted.

0 comments on commit 4a3175d

Please sign in to comment.