diff --git a/.coverage b/.coverage deleted file mode 100644 index 2ebb246..0000000 Binary files a/.coverage and /dev/null differ diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 9a7e82a..0000000 --- a/.coveragerc +++ /dev/null @@ -1,4 +0,0 @@ -[report] -exclude_lines = - if __name__ == .__main__.: - raise NotImplementedError diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml new file mode 100644 index 0000000..1beee66 --- /dev/null +++ b/.github/workflows/black.yml @@ -0,0 +1,30 @@ +name: black + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + python-version: [3.6, 3.7, 3.8] + + steps: + - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Install Dependencies + run: | + python -m pip install --upgrade pip + pip install black + - name: Lint with black + run: | + black . diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 82f849d..0000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: python - -dist: xenial - -python: - - 3.6 - - -before_install: - - python -m pip install --upgrade pip - - -install: - - pip install -r requirements.txt - - -script: - - pytest --cov=./ - - -after_success: - - codecov