Created
January 21, 2025 06:32
-
-
Save code-yeongyu/61ca018f5cd1dba4d4e9daf022be9899 to your computer and use it in GitHub Desktop.
ruff & mypy & pytest
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.ruff] | |
| line-length = 119 | |
| target-version = "py312" | |
| lint.select = [ | |
| "PLE", | |
| "PLW", | |
| "E", | |
| "W", | |
| "F", | |
| "FA", | |
| "I", | |
| "ISC", | |
| "Q", | |
| "UP", | |
| "C4", | |
| "PT", | |
| ] | |
| preview = true | |
| [tool.ruff.lint.flake8-quotes] | |
| inline-quotes = "double" | |
| docstring-quotes = "double" | |
| multiline-quotes = "double" | |
| [tool.ruff.lint.flake8-pytest-style] | |
| mark-parentheses = true | |
| fixture-parentheses = true | |
| [tool.pytest.ini_options] | |
| python_files = ["tests.py", "test_*.py", "*_tests.py", "*_test.py"] | |
| addopts = """\ | |
| -n auto \ | |
| """ | |
| asyncio_mode = "auto" | |
| asyncio_default_fixture_loop_scope = "function" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment