-
Notifications
You must be signed in to change notification settings - Fork 2
fix: cli #78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cli #78
Conversation
Формат PR пойдет, только надо добавить ссылку на issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Немножко упало покрытие, но для этой таски не так важно.
Несколько строк пропало, их надо вернуть, по идее.
Пока что оставлю так.
rich = "==13.9.4" | ||
click = ">=8.2.1" | ||
dacite = "==1.9.2" | ||
pysatl-criterion = {path = "./pysatl_criterion"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Там точно @ не нужна?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не нужна
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Верю :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Оставлю здесь заметку на потом.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lines-after-imports = 2 | ||
|
||
[tool.flake8] | ||
ignore = ["E121", "E123", "E126", "E24", "E203", "E704", "W503", "W504"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А это почему исчезло?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flake8 линтер и ruff линтер, делают одно и тоже. В PySATL'e используют ruff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я про сами коды варнингов (например, https://www.flake8rules.com/rules/E121.html).
Имхо, стоит их добавить в соответствующий раздел для ruff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Так даже не было же в зависимостях flake8, это мертвый код изначально?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Хотя он есть в pre-commit'e, но я не очень понимаю как это должно работать
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ладно, пока так оставим.
При необходимости добавлю отдельным коммитом, пускай ветка остаётся (и заметка здесь).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alex98247, думаю, можно мерджить (только ветку оставь, пожалуйста).
Summary
Fixed CLI.
Solve the issue: #76
Quick changelog
pyproject.toml
for Poetry compatibility.shared.py
to centralize common CLI dependencies.cli.py
andconfigure.py
to use the new shared module, removing direct dependencies.__main__.py
to provide a standard executable entry point for the package.What's new?
This PR fixes known bugs with CLI dependencies.