-
Notifications
You must be signed in to change notification settings - Fork 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
Add separate linting stage and Black/isort formatting #2
Conversation
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.
Looks good 👍
install_requires=['nameko>=2.6', 'redis>=2.10.5'], | ||
extras_require={ | ||
'dev': [ | ||
'pytest~=5.0.0', | ||
'coverage~=4.5.3', | ||
'flake8', | ||
'flake8-bugbear', |
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.
👍
- stage: test | ||
python: 3.5 | ||
env: TOX_ENV="py35-nameko{2.11,2.12,latest}-redis2.10" | ||
env: TOX_ENV="py35-nameko{2.11,2.12,latest}-redis2.10-test" |
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 wondered if it might be possible to simplify this config using tox-travis, but no need to do that here, as you've got it all working.
Let's create an issue for that and I'll have a go. Assuming you're sticking with travis for the moment?
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.
Yes, we're sticking with Travis CI for the time being.
It sounds good, please feel free to create an issue for that.
88
py36
,py37
andpy38
flake8
config:flake8-bugbear
pluginisort
code formatting:test
order when usingtox
pyproject.toml
:coverage
keywords
pytest
config fixtures more explicit so that they can be easily reusedpip-wheel-metadata
to.gitignore
until the following issue gets resolved: pip-wheel-metadata configurable pypa/pip#6213