Skip to content

Commit

Permalink
move ruff config to ruff.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Nov 16, 2024
1 parent 839a05b commit aed5f23
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
18 changes: 0 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,5 @@ include = [
[tool.hatch.build.targets.wheel]
packages = ["src/web_search"]

[tool.ruff]
line-length = 120
include = ["src/**/*.(py|pyi)", "tests/**/*.(py|pyi)", "pyproject.toml"]

[tool.ruff.lint]
select = ["D102", "F401"]

[tool.ruff.lint.isort]
case-sensitive = true
relative-imports-order = "closest-to-furthest"

[tool.ruff.format]
quote-style = "double"
indent-style = "space"

[tool.pylint]
max-line-length = 120

[tool.mypy]
ignore_missing_imports = false
13 changes: 13 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
line-length = 120
include = ["src/**/*.(py|pyi)", "tests/**/*.(py|pyi)", "pyproject.toml"]

[lint]
select = ["D102", "F401"]

[lint.isort]
case-sensitive = true
relative-imports-order = "closest-to-furthest"

[format]
quote-style = "double"
indent-style = "space"

0 comments on commit aed5f23

Please sign in to comment.