Skip to content

Commit

Permalink
Issue #78: Moved configuration of ruff to the right file
Browse files Browse the repository at this point in the history
  • Loading branch information
johnowagon committed Dec 11, 2023
1 parent bad876d commit 160890c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 39 deletions.
37 changes: 36 additions & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
@@ -1 +1,36 @@
ignore-init-module-imports = true
ignore-init-module-imports = true
exclude = [
".txt",
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"__pycache__",
"_build",
"buck-out",
"build",
"docs",
"dist",
"node_modules",
"venv",
]

select = [
"D205", # Blank line after summary
"D103", # Public function needs docstring
"D101", # Class needs docstring
"D102", # Method needs docstring
"D417", # Document all arguments
"D419", # Docstring is empty
]
39 changes: 1 addition & 38 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,41 +32,4 @@
]

[project.scripts]
finish_install = "bsk_rl.finish_install:pck_install"

[tool.ruff]
exclude = [
".txt",
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"__pycache__",
"_build",
"buck-out",
"build",
"docs",
"dist",
"node_modules",
"venv",
]

select = [
"D205", # Blank line after summary
"D103", # Public function needs docstring
"D101", # Class needs docstring
"D102", # Method needs docstring
"D417", # Document all arguments
"D419", # Docstring is empty
]
finish_install = "bsk_rl.finish_install:pck_install"

0 comments on commit 160890c

Please sign in to comment.