Skip to content

Commit 4f1d40a

Browse files
committed
Use new named categories
See pypa/pipenv#5366
1 parent 3aab9fc commit 4f1d40a

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ENV PROJECT_ROOT='/home/app/log-my-time'
3333
# Install python deps
3434
RUN pip install pipenv
3535
COPY --chown=app ./Pipfile.lock ./Pipfile ./
36-
RUN pipenv install --dev --system
36+
RUN pipenv install --categories="packages dev" --system
3737

3838
# Get traceback for C crashes
3939
ENV PYTHONFAULTHANDLER=1

Pipfile

+6-1
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@ argon2-cffi = "*"
1717
redis = "*"
1818
sendgrid = "*"
1919

20+
# Packages required in the container for development
2021
[dev-packages]
2122
pytest = "*"
23+
devtools = {extras = ["pygments"], version = "*"}
24+
25+
# Packages required locally for development
26+
[local-packages]
2227
black = "*"
2328
flake8 = "*"
24-
devtools = {extras = ["pygments"], version = "*"}
29+
flake8-eradicate = "*"
2530
pony-stubs = "*"
2631
djlint = "*"

Pipfile.lock

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ Requires python 3.10
3232
pip install --user pipx
3333
pipx install pipenv
3434

35-
# Install deps with pipenv
36-
pipenv install
35+
# Install deps locally with pipenv
36+
pipenv install --categories="packages dev local"
3737

3838
# Start a pipenv shell
3939
pipenv shell

0 commit comments

Comments
 (0)