Skip to content

Commit

Permalink
chore: Bump poetry from 1.5.1 to 1.6.1 in /.github/workflows (#182)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Derek Visch <[email protected]>
Co-authored-by: Edgar Ramírez Mondragón <[email protected]>
  • Loading branch information
3 people authored Sep 28, 2023
1 parent a220b0e commit 105e152
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 369 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[flake8]
ignore = D105,D203,D213,W503
docstring-convention = google
max-line-length = 88
max-complexity = 10
30 changes: 1 addition & 29 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,6 @@ on:
inputs: {}

jobs:
linting:
runs-on: ubuntu-latest
strategy:
matrix:
# Only lint using the primary version used for dev
python-version: [3.9]
steps:
- uses: actions/checkout@v4
- name: Set up Python '${{ matrix.python-version }}'
uses: actions/setup-python@v4
with:
python-version: '${{ matrix.python-version }}'

- name: Install Poetry
env:
PIP_CONSTRAINT: .github/workflows/constraints.txt
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Run lint command from tox.ini
run: |
poetry run tox -e lint
pytest:
runs-on: ubuntu-latest
strategy:
Expand All @@ -61,7 +33,7 @@ jobs:
PIP_CONSTRAINT: .github/workflows/constraints.txt
run: |
python -m pip install --upgrade pip
pip install poetry
pipx install poetry
- name: Install dependencies
run: |
poetry install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
poetry==1.5.1
poetry==1.6.1
3 changes: 0 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ repos:
hooks:
- id: flake8
additional_dependencies:
- darglint==1.8.1
- flake8-annotations==2.9.0
- flake8-docstrings==1.6.0
files: 'meltano/edk/.*'

- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
Expand Down
Loading

0 comments on commit 105e152

Please sign in to comment.