address some feedback on Python guide
This commit is contained in:
@@ -218,7 +218,7 @@ steps:
|
||||
|
||||
### Requirements file
|
||||
|
||||
After you update `pip`, a typical next step is to install dependencies from *requirements.txt*.
|
||||
After you update `pip`, a typical next step is to install dependencies from [requirements.txt](https://pip.pypa.io/en/stable/cli/pip_install/#example-requirements-file).
|
||||
|
||||
{% raw %}
|
||||
```yaml{:copy}
|
||||
@@ -318,9 +318,12 @@ steps:
|
||||
run: |
|
||||
pip install flake8
|
||||
flake8 .
|
||||
continue-on-error: true
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
The linting step has `continue-on-error: true` set. This will keep the workflow from failing if the linting step doesn't succeed. Once you've addressed all of the linting errors, you can remove this option so the workflow will catch new issues.
|
||||
|
||||
### Running tests with tox
|
||||
|
||||
With {% data variables.product.prodname_actions %}, you can run tests with tox and spread the work across multiple jobs. You'll need to invoke tox using the `-e py` option to choose the version of Python in your `PATH`, rather than specifying a specific version. For more information, see [tox](https://tox.readthedocs.io/en/latest/).
|
||||
|
||||
Reference in New Issue
Block a user