/
kmo
/
python_for_bmstu_students
Обзор
Документация
Войти
/
kmo
/
python_for_bmstu_students
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pyproject.toml
54 строки
1 KB
zaynulla
+ pyproject.toml: more Ruff rules;
14 сен 2024, 18:50
14 сен 2024, 18:50
117cc27
Код
Авторство
О чём код?
[tool.pytest.ini_options] pythonpath = ["satellite_model", "satellite_model/src", "lessons", "dz"] filterwarnings = [ "ignore:invalid value encountered in:RuntimeWarning:", "ignore:RepresentationMixin:DeprecationWarning", ] [tool.ruff] target-version = "py310" select = ["ALL"] # TODO включить обратно: ignore = [ "ANN101", "COM812", "D", "DTZ005", "FIX", "INP001", "ISC001", "Q", "RUF001", "RUF002", "RUF003", "S311", "S608", "T201", "TD", ] extend-select = ["FIX001", "TD005", "TD006"] # Same as Black. line-length = 88 # не проверять эти папки exclude = [".pytest_cache", ".vscode", ".git", "venv"] [tool.ruff.isort] # Поместить свои библиотеки в отдельный третий блок (1й - стандартные, 2й - # устанавливаемые) known-first-party = [ "adcs", "ballistic", "can_utils", "cstpu", "helpers", "lesson_02", "magnetic", "mission_parameters", "mission_simulation", "power_budget", "sun", ]