-
-
Notifications
You must be signed in to change notification settings - Fork 5
Initial structure #1
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
Conversation
|
Hello @atodorov ! Could you, pls, check if everything is OK with license, naming, supported Python / pytest versions, etc? Thank you |
atodorov
left a comment
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.
Overall looks good, some adjustments are needed or have to be clarified.
tox.ini
Outdated
| [testenv:flake8] | ||
| skip_install = true | ||
| deps = flake8 | ||
| commands = flake8 pytest_kiwitcms setup.py tests |
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.
I also like to enable pylint, see the TAP plugin for options.
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.
Done. What do you think about adding also isort and black?
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.
I like the idea of black but never used it. If you are happy with it (or isort) feel free to include them. I don't have an opinion as long as pylint and flake8 are happy.
|
@Stranger6667 thanks for your effort. A few notes:
|
71667dc to
51aa989
Compare
51aa989 to
8233902
Compare
|
|
||
| cache: | ||
| directories: | ||
| - $HOME/.cache/pip |
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.
cache: pip will do the same I believe.
tox.ini
Outdated
| [testenv:flake8] | ||
| skip_install = true | ||
| deps = flake8 | ||
| commands = flake8 pytest_kiwitcms setup.py tests |
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.
I like the idea of black but never used it. If you are happy with it (or isort) feel free to include them. I don't have an opinion as long as pylint and flake8 are happy.
|
I will take a fresh look at this tomorrow but IMO it is generally OK to merge, even as-is. For anything that remains I will open issues or pull requests. |
Adapted from https://github.com/pytest-dev/cookiecutter-pytest-plugin