Skip to content

Commit

Permalink
Remove caching and pre-commit from pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenetriguba committed Nov 23, 2022
1 parent 6fb438c commit af71f3c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/python-package-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Cache pip dependencies
id: cache-pip
uses: actions/cache@v3
env:
cache-name: cache-pip-dependencies
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
if: ${{ steps.cache-pip.outputs.cache-hit != 'true' }}
run: |
pip install poetry
poetry install -v
Expand Down
5 changes: 0 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ repos:
- id: autoflake
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']

- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.9.3
hooks:
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ packages = [
]

[tool.taskipy.tasks]
lint = "poetry run pre-commit run --all"
test = "task test_cov_missing"
test_unit = "poetry run pytest tests/"
test_cov = "task test_unit -- --cov=lirc/"
Expand All @@ -43,7 +42,6 @@ test_ci = "task test_cov -- --cov-report=xml"
python = "^3.6"

[tool.poetry.dev-dependencies]
pre-commit = { version = "^2.12.0", python = ">=3.6.1" }
flake8 = "^3.8.3"
isort = "^5.0.4"
pytest = "^6.0"
Expand Down

0 comments on commit af71f3c

Please sign in to comment.