Initial commit of mtgonline project

This commit is contained in:
2026-07-18 04:57:40 +00:00
commit 86c12376f8
1870 changed files with 547994 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
"""
Ruff configuration for linting and formatting.
"""
[tool.ruff]
# Target Python version
target-version = "py312"
# Line length
line-length = 100
# Enable rules
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
# Ignore specific rules
[tool.ruff.lint.ignore]
E501 = "Line too long" # Handled by formatter
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"] # Allow unused imports in __init__.py
"tests/**" = ["S101"] # Allow assert in tests