diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 680dd67..0aaf444 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -35,6 +35,6 @@ jobs: coverage run --source=bmlab -m pytest tests - name: Lint with flake8 run: | - flake8 . + flake8 --exclude _version.py . - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/.github/workflows/deploy_pypi.yml b/.github/workflows/deploy_pypi.yml index 06bc92a..f58d921 100644 --- a/.github/workflows/deploy_pypi.yml +++ b/.github/workflows/deploy_pypi.yml @@ -25,7 +25,7 @@ jobs: pip install -e . - name: Build and publish env: - TWINE_USERNAME: ci_bm + TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_PWD }} run: | python setup.py sdist bdist_wheel diff --git a/.readthedocs.yml b/.readthedocs.yml index 3de196c..b34e3df 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,4 +7,4 @@ python: - requirements: docs/requirements.txt - method: pip path: . - system_packages: false + diff --git a/CHANGELOG b/CHANGELOG index 6713e16..4186d04 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -60,7 +60,7 @@ ### Fixed - Don't fail on empty arc #138 -- Fix issues with flake8 v5, lock scipy version #139 +- Fix issues with flake8 --exclude _version.py .5, lock scipy version #139 ## 0.2.3 - 2022-07-01 diff --git a/docs/sec_develop.rst b/docs/sec_develop.rst index ef686a7..0c091c3 100644 --- a/docs/sec_develop.rst +++ b/docs/sec_develop.rst @@ -42,7 +42,7 @@ Continuous integration ====================== The following things are automated: -- pytest and flake8 on Linux, macOS, and Windows via GitHub Actions: +- pytest and flake8 --exclude _version.py .n Linux, macOS, and Windows via GitHub Actions: https://github.com/BrillouinMicroscopy/bmlab/actions?query=workflow%3AChecks You should always check that all checks pass before you merge a pull request