-
Notifications
You must be signed in to change notification settings - Fork 281
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
build: main() not required any more #635
build: main() not required any more #635
Conversation
b026cfe
to
6347b7c
Compare
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.
With the removal of __main__.py
, is it still possible to run python -m yamllint
?
I think it should work,
Needs more work though, to get coverage tests to work. |
Since adding "yamllint.cli:run", we don't need a main() function.
6347b7c
to
0dda5bf
Compare
Actually
|
On my system, The documentation seems to agree with that:
Can you double-check? |
I am installing yamllint from PyPI:
Have I done something wrong? |
Something is wrong after all:
This version of
Let me retry after cleaning up. |
It works now:
|
Since adding
"yamllint.cli:run"
, we don't need amain()
function.