Skip to content

Commit

Permalink
Update ruff configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dunossauro committed Jan 3, 2024
1 parent a610820 commit 7fce44b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 25 deletions.
42 changes: 21 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mkdocstrings = "^0.23.0"
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
blue = "^0.9.1"
ruff = "^0.0.282"
ruff = "^0.1.11"
pyinstrument = "^4.5.1"
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
Expand All @@ -61,13 +61,25 @@ vmh = "vmh.cli:app"
pythonpath = "."
filterwarnings = 'ignore'

[tool.ruff]
ignore = ['E501']
select = ['E', 'F', 'W', 'C', 'I', 'N']
[tool.ruff.lint]
select = ['ALL']
ignore = [
'D100',
'D103',
'D104',
'E501',
]

[tool.ruff.lint.per-file-ignores]
'tests/*' = ['ANN201', 'S101']

[tool.ruff.pydocstyle]
convention = "google"

[tool.ruff.lint.flake8-quotes]
inline-quotes = 'single'


[tool.taskipy.tasks]
format = 'blue . && isort .'
lint = 'blue . --check --diff && isort . --check --diff && ruff .'
Expand Down
Empty file added tests/__init__.py
Empty file.

0 comments on commit 7fce44b

Please sign in to comment.