mirror of
https://github.com/chainstacklabs/pumpfun-bonkfun-bot.git
synced 2026-08-07 20:47:44 +00:00
fix: align learning examples with refactored modules
This commit is contained in:
+45
-1
@@ -26,13 +26,57 @@ dev = [
|
||||
pump_bot = "cli:sync_main"
|
||||
|
||||
[tool.ruff]
|
||||
exclude = [
|
||||
".bzr",
|
||||
".direnv",
|
||||
".eggs",
|
||||
".git",
|
||||
".git-rewrite",
|
||||
".hg",
|
||||
".ipynb_checkpoints",
|
||||
".mypy_cache",
|
||||
".nox",
|
||||
".pants.d",
|
||||
".pyenv",
|
||||
".pytest_cache",
|
||||
".pytype",
|
||||
".ruff_cache",
|
||||
".svn",
|
||||
".tox",
|
||||
".venv",
|
||||
".vscode",
|
||||
"__pypackages__",
|
||||
"_build",
|
||||
"buck-out",
|
||||
"build",
|
||||
"dist",
|
||||
"node_modules",
|
||||
"site-packages",
|
||||
"venv",
|
||||
]
|
||||
|
||||
line-length = 88
|
||||
indent-width = 4
|
||||
target-version = "py311"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "UP", "N", "B", "A", "C4", "T10", "ARG", "PTH"]
|
||||
select = [
|
||||
"E", "F", "I", "UP", "N", "B", "A", "C4", "T10", "ARG", "PTH",
|
||||
"ANN", # type annotations
|
||||
"S", # security best practices
|
||||
"BLE", # blind except statements
|
||||
"FBT", # boolean trap parameters
|
||||
"C90", # complexity metrics
|
||||
"TRY", # exception handling best practices
|
||||
"SLF", # private member access
|
||||
"TCH", # type checking issues
|
||||
"RUF", # Ruff-specific rules
|
||||
"ERA", # eradicate commented-out code
|
||||
"PL", # pylint conventions
|
||||
]
|
||||
ignore = ["E501"]
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
indent-style = "space"
|
||||
line-ending = "auto"
|
||||
Reference in New Issue
Block a user