From 5a746306ef6cbd839fd8f8abb8baa4af3c69c356 Mon Sep 17 00:00:00 2001 From: "repo-helper[bot]" <74742576+repo-helper[bot]@users.noreply.github.com> Date: Tue, 19 Jan 2021 22:57:19 +0000 Subject: [PATCH] Updated files with 'repo_helper'. (#10) Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> --- .github/workflows/conda_ci.yml | 2 +- .github/workflows/python_ci_linux.yml | 4 ++-- .pre-commit-config.yaml | 5 +++++ .readthedocs.yml | 2 ++ tox.ini | 1 + 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/conda_ci.yml b/.github/workflows/conda_ci.yml index 3282f63..e82f248 100644 --- a/.github/workflows/conda_ci.yml +++ b/.github/workflows/conda_ci.yml @@ -29,7 +29,7 @@ jobs: python -m pip install --upgrade repo_helper # $CONDA is an environment variable pointing to the root of the miniconda directory $CONDA/bin/conda update -q conda - $CONDA/bin/conda install conda-build + $CONDA/bin/conda install conda-build=3.21.0 $CONDA/bin/conda config --add channels conda-forge $CONDA/bin/conda config --add channels domdfcoding diff --git a/.github/workflows/python_ci_linux.yml b/.github/workflows/python_ci_linux.yml index dfa44df..5461647 100644 --- a/.github/workflows/python_ci_linux.yml +++ b/.github/workflows/python_ci_linux.yml @@ -69,7 +69,7 @@ jobs: - name: Install dependencies 🔧 run: | python -m pip install --upgrade pip setuptools wheel - python -m pip install --upgrade coveralls coverage_pyver_pragma + python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma - name: "Download Coverage 🪂" uses: actions/download-artifact@v2 @@ -95,7 +95,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - coveralls + coveralls --service=github Deploy: needs: tests diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e9a8016..acdeb8f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,6 +40,11 @@ repos: - id: ensure-dunder-all files: ^flake8_sphinx_links/.*\.py$ + - repo: https://github.com/domdfcoding/flake2lint + rev: v0.2.0 + hooks: + - id: flake2lint + - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.7.0 hooks: diff --git a/.readthedocs.yml b/.readthedocs.yml index 8ba9cb3..ce3f99b 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -11,3 +11,5 @@ python: install: - requirements: requirements.txt - requirements: doc-source/requirements.txt + - method: pip + path: . diff --git a/tox.ini b/tox.ini index 1aa37d1..46250ce 100644 --- a/tox.ini +++ b/tox.ini @@ -140,6 +140,7 @@ exclude_lines = if TYPE_CHECKING: if typing.TYPE_CHECKING: if __name__ == .__main__.: + \.\.\. [check-wheel-contents] ignore = W002