Last active
December 19, 2023 06:31
-
-
Save ras0q/69a5c568e88f915076f5bdcb8ea62d90 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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