mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 04:10:49 +08:00
Initial commit - PR-Agent OSS release
This commit is contained in:
32
pyproject.toml
Normal file
32
pyproject.toml
Normal file
@ -0,0 +1,32 @@
|
||||
[tool.ruff]
|
||||
|
||||
line-length = 120
|
||||
|
||||
select = [
|
||||
"E", # Pyflakes
|
||||
"F", # Pyflakes
|
||||
"B", # flake8-bugbear
|
||||
"I001", # isort basic checks
|
||||
"I002", # isort missing-required-import
|
||||
]
|
||||
|
||||
# First commit - only fixing isort
|
||||
fixable = [
|
||||
"I001", # isort basic checks
|
||||
]
|
||||
|
||||
unfixable = [
|
||||
"B", # Avoid trying to fix flake8-bugbear (`B`) violations.
|
||||
]
|
||||
|
||||
exclude = [
|
||||
"api/code_completions",
|
||||
]
|
||||
|
||||
ignore = [
|
||||
"E999", "B008"
|
||||
]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
"__init__.py" = ["E402"] # Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`.
|
||||
# TODO: should decide if maybe not to ignore these.
|
Reference in New Issue
Block a user