Skip to content

Commit

Permalink
Merge pull request #33 from AndrewADev/chore/convert-to-pipenv
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewADev committed Aug 13, 2023
2 parents 7322585 + 078f817 commit 06eb06f
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 29 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python -m pip install --upgrade pipenv wheel
pipenv install --dev
- name: Check formatting
run: black --target-version=py38 .
run: pipenv run black --target-version=py310 .

- name: Run tests
run: |
pytest
pipenv run pytest
# TODO: enable after looking into linter gripes
# lint:
Expand Down
27 changes: 27 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
click = "*"
colorama = "*"
iniconfig = "*"
packaging = "*"
pathspec = "*"
platformdirs = "*"
pluggy = "*"
tomli = "*"
typing-extensions = "*"

[dev-packages]
black = "*"
pytest = "*"
pytest-mock = "*"
mypy-extensions = "*"

[requires]
python_version = "3.10"

[pipenv]
allow_prereleases = true
218 changes: 218 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 0 additions & 24 deletions requirements.txt

This file was deleted.

0 comments on commit 06eb06f

Please sign in to comment.