Skip to content

Instantly share code, notes, and snippets.

@ras0q
Last active December 19, 2023 06:31
Show Gist options
  • Select an option

  • Save ras0q/69a5c568e88f915076f5bdcb8ea62d90 to your computer and use it in GitHub Desktop.

Select an option

Save ras0q/69a5c568e88f915076f5bdcb8ea62d90 to your computer and use it in GitHub Desktop.
[tool.black]
line_length = 88
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.ruff]
select = [
"F", # pyflakes
"W", # pycodestyle warnings
"E", # pycodestyle errors
"I", # isort
]
ignore = []
line-length = 88
[tool.ruff.per-file-ignores]
# In __init__.py, ignore unused imports
"__init__.py" = ["F401"]
#!/bin/bash
rye add --dev black mypy ruff
curl https://gist.githubusercontent.com/ras0q/69a5c568e88f915076f5bdcb8ea62d90/raw/147f84d869a54091f0a29747e19e5bf9af268356/pyproject_devconfig.toml >> ./pyproject.toml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment