Skip to content

Commit

Permalink
Multiple cleanups from neglect (#79)
Browse files Browse the repository at this point in the history
* Switched to setuptools vs pbr
* Switched to black off yapf
* Added hacking for extra lint
* Corrected docstrings
  • Loading branch information
retr0h authored Mar 14, 2020
1 parent 54f2a58 commit d39d90e
Show file tree
Hide file tree
Showing 25 changed files with 594 additions and 536 deletions.
3 changes: 0 additions & 3 deletions .flake8

This file was deleted.

12 changes: 9 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,20 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7]

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tox tox-gh-actions
- name: Test with tox
run: |
pip install tox
tox
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
*.egg-info/
*.py[cod]
*.py[rcod]
.cache/
.coverage
.eggs/
.tox/
.venv/
build/
coverage.*
dist/
doc/build/
htmlcov/
pip-wheel-metadata/
2 changes: 2 additions & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
3.7.6
3.6.7
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ Unit tests are invoked by `Tox`_.
Formatting
==========

The formatting is done using `YAPF`_.
The formatting is done using `Black`_.

From the root for the project, run:

.. code-block:: bash
$ tox -e format
.. _`YAPF`: https://github.com/google/yapf
.. _`Black`: https://github.com/psf/black
.. _`Tox`: https://tox.readthedocs.io/en/latest
.. _`Issue`: https://github.com/metacloud/gilt/issues
Loading

0 comments on commit d39d90e

Please sign in to comment.