From b6a59b59b2f4178197393e0c207936d1c921c351 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 24 May 2022 15:47:05 -0300 Subject: [PATCH 1/2] fix indentation --- .github/workflows/pypi.yml | 6 +++--- .pre-commit-config.yaml | 13 ++++--------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 1294d6d..8f428ac 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -19,9 +19,9 @@ jobs: steps: - uses: actions/checkout@v3 with: - # Should be enough for setuptools-scm - fetch-depth: 100 - persist-credentials: false + # Should be enough for setuptools-scm + fetch-depth: 100 + persist-credentials: false - name: Get tags run: git fetch origin 'refs/tags/*:refs/tags/*' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3c1f25b..112d315 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -68,16 +68,11 @@ repos: hooks: - id: add-trailing-comma -- repo: https://github.com/deathbeds/prenotebook - rev: f5bdb72a400f1a56fe88109936c83aa12cc349fa +- repo: https://github.com/pycqa/pydocstyle + rev: 6.1.1 hooks: - - id: prenotebook - -- repo: https://github.com/pycqa/pydocstyle - rev: 6.1.1 - hooks: - - id: pydocstyle - exclude: ^(docs|setup.py) + - id: pydocstyle + exclude: ^(docs|setup.py) ci: autofix_commit_msg: | From f60f832b62962cfde36ef0b8b1eea2d122e5a22c Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 24 May 2022 16:11:35 -0300 Subject: [PATCH 2/2] add twine --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 8f428ac..8710f55 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -33,7 +33,7 @@ jobs: - name: Install build tools run: | - python -m pip install --upgrade pip build + python -m pip install --upgrade pip build twine - name: Build binary wheel run: python -m build --sdist --wheel . --outdir dist