Skip to content

Commit

Permalink
Merge pull request #116 from VegeWaterDynamics/update_lint_workflow
Browse files Browse the repository at this point in the history
Update lint
  • Loading branch information
rogerkuou authored Feb 12, 2024
2 parents 0693d7b + 0f3ae71 commit b4b76ff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ branch = true
source = ["motrainer"]

[tool.ruff]
select = [
lint.select = [
"E", # pycodestyle
"F", # pyflakes
"B", # flake8-bugbear
Expand All @@ -93,13 +93,13 @@ select = [
"UP", # pyupgrade (upgrade syntax to current syntax)
"PLE", # Pylint error https://github.com/charliermarsh/ruff#error-ple
]
ignore = [
"D100", "D101", "D104", "D105", "D106", "D107", "D203", "D213"
lint.ignore = [
"D100", "D101", "D104", "D105", "D106", "D107", "D203", "D213", "D413"
] # docstring style

# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
lint.fixable = ["ALL"]
lint.unfixable = []

exclude = [
".bzr",
Expand Down Expand Up @@ -130,10 +130,10 @@ line-length = 88
indent-width = 4

# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py310"

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D"]

[tool.ruff.format]
Expand Down

0 comments on commit b4b76ff

Please sign in to comment.