Skip to content

Commit

Permalink
Use pdm instead of pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Alveel committed Feb 26, 2024
1 parent 26837e9 commit b7404e3
Show file tree
Hide file tree
Showing 6 changed files with 981 additions and 927 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/code-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3

Expand All @@ -18,17 +18,18 @@ jobs:

- name: Install dependencies
run: |
python -m pip --disable-pip-version-check install pipenv
pipenv install --dev
python -m pip --disable-pip-version-check install pdm
pdm install --dev
- name: Analysing the formatting with black
run: |
pipenv run black $(git ls-files '*.py') --check --diff --color
pdm run black $(git ls-files '*.py') --check --diff --color
- name: Analysing the code with pylint
run: |
pipenv run pylint $(git ls-files '*.py') --output-format=colorized
pdm run pylint $(git ls-files '*.py') --output-format=colorized
- name: Analysing the code with flake8
run: |
pipenv run flake8 $(git ls-files '*.py')
pdm run flake8 $(git ls-files '*.py')
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.idea
.pdm-python
.python-version
__pycache_
out/
src/
venv/
Lib/
Scripts/
Expand Down
19 changes: 0 additions & 19 deletions Pipfile

This file was deleted.

Loading

0 comments on commit b7404e3

Please sign in to comment.