Skip to content

Commit

Permalink
Merge branch 'master' into red-text-error
Browse files Browse the repository at this point in the history
  • Loading branch information
callmecampos committed Jun 10, 2020
2 parents 9eb2281 + f922eeb commit bace866
Show file tree
Hide file tree
Showing 16 changed files with 501 additions and 456 deletions.
5 changes: 1 addition & 4 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,4 @@ per-file-ignores =
# D104 Missing docstring in public package
twine/*: D100,D101,D102,D103,D104
twine/commands/*: D100,D101,D102,D103,D104
# TODO: Rewrite test docstrings https://github.com/pypa/twine/issues/628
# D205 1 blank line required between summary line and description
# D400 First line should end with a period
tests/*: D100,D101,D102,D103,D104,D205,D400
tests/*: D100,D101,D102,D103,D104
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install tox
run: python -m pip install tox
- name: Run linting
run: python -m tox -e lint

test:
strategy:
matrix:
python: [3.6, 3.7, 3.8]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: "Install dependencies"
run: |
python -m pip install --upgrade pip setuptools wheel tox
- name: Run tests
run: python -m tox -e py # Run tox using the version of Python in `PATH`
3 changes: 2 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ Wasim Thabraze <wasim@thabraze.me>
Varun Kamath <varunkamath18@gmail.com>
Brian Rutledge <bhrutledge@gmail.com>
Peter Stensmyr <peter.stensmyr@gmail.com> (http://www.peterstensmyr.com)
Felipe Rocha Campos <felipecampos@google.com>
Felipe Mulinari Rocha Campos <felipecampos@google.com>
Devesh Kumar Singh <deveshkusingh@gmail.com>

0 comments on commit bace866

Please sign in to comment.