Skip to content

Commit

Permalink
Merge pull request #39 from 50-Course/dev
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
50-Course authored May 28, 2024
2 parents f93c658 + a1dab6a commit 837cb9e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 2 deletions.
1 change: 1 addition & 0 deletions backend/paycheck_core/requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ httpx==0.27.0
django-extensions>=3.2.0
django-phone-field>=1.8.1
Pillow==10.3.0
django-model-utils==4.5.0
5 changes: 5 additions & 0 deletions backend/paycheck_core/requirements/ci.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-c dev.in

pyupgrade
django-upgrade

14 changes: 14 additions & 0 deletions backend/paycheck_core/requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --output-file=backend/paycheck_core/requirements/ci.txt backend/paycheck_core/requirements/ci.in
#
django-upgrade==1.17.0
# via -r backend/paycheck_core/requirements/ci.in
pyupgrade==3.15.2
# via -r backend/paycheck_core/requirements/ci.in
tokenize-rt==5.2.0
# via
# django-upgrade
# pyupgrade
1 change: 1 addition & 0 deletions backend/paycheck_core/requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ flake8==4.0.1
isort==5.10.1
factory-boy
django-debug-toolbar>=4.2.0
django-extensions
7 changes: 5 additions & 2 deletions backend/paycheck_core/src/paycheck/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ def main():
"""Run administrative tasks."""
import pdb

project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
src_root = os.path.join(project_root, "src")
# project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
# src_root = os.path.join(project_root, "src")
#
# if src_root not in sys.path:
# sys.path.append(src_root)

if src_root not in sys.path:
sys.path.append(src_root)
Expand Down

0 comments on commit 837cb9e

Please sign in to comment.