Skip to content

Commit

Permalink
fix: poetry config
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Ortega <[email protected]>
  • Loading branch information
M0NsTeRRR committed Sep 2, 2024
1 parent d2e713b commit a95754f
Show file tree
Hide file tree
Showing 6 changed files with 839 additions and 929 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4

Expand All @@ -32,8 +32,9 @@ jobs:
run: |
export PATH="$PATH:$HOME/.local/bin"
poetry install --with=dev
- name: Run pre-commit
- name: Run ruff
run: |
export PATH="$PATH:$HOME/.local/bin"
source `poetry env info --path`/bin/activate
pre-commit run --all-files
poetry run ruff format --check .
poetry run ruff check .
25 changes: 0 additions & 25 deletions .pre-commit-config.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## Requirements

- Python (check version in setup.py)
- Python with Poetry

## Setup

Expand Down
2 changes: 1 addition & 1 deletion les_louisdelatech/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from les_louisdelatech.models.otp import Otp
from les_louisdelatech.models.otp import Otp # noqa: F401
Loading

0 comments on commit a95754f

Please sign in to comment.