Skip to content

Commit

Permalink
feat: Django library is set up
Browse files Browse the repository at this point in the history
  • Loading branch information
myhailo-chernyshov-rg committed Jan 13, 2025
1 parent 5ecc968 commit 50a33f9
Show file tree
Hide file tree
Showing 13 changed files with 252 additions and 171 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[pytest]
usefixtures = chdir_to_workspace
DJANGO_SETTINGS_MODULE = cc2olx.settings
1 change: 1 addition & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Core requirements for this package

Django
attrs
lxml
requests
Expand Down
10 changes: 10 additions & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@
#
# make upgrade
#
asgiref==3.8.1
# via django
attrs==24.3.0
# via -r requirements/base.in
backports-zoneinfo==0.2.1
# via django
certifi==2024.12.14
# via requests
charset-normalizer==3.4.1
# via requests
django==4.2.17
# via -r requirements/base.in
idna==3.10
# via requests
lxml==5.3.0
# via -r requirements/base.in
requests==2.32.3
# via -r requirements/base.in
sqlparse==0.5.3
# via django
typing-extensions==4.12.2
# via asgiref
urllib3==2.2.3
# via requests
youtube-dl==2021.12.17
Expand Down
76 changes: 47 additions & 29 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,111 +4,128 @@
#
# make upgrade
#
asgiref==3.8.1
# via
# -r /home/misha/work/cc2olx/requirements/quality.txt
# django
attrs==24.3.0
# via
# -c requirements/constraints.txt
# -r requirements/quality.txt
# -c /home/misha/work/cc2olx/requirements/constraints.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
backports-zoneinfo==0.2.1
# via
# -r /home/misha/work/cc2olx/requirements/quality.txt
# django
black==24.8.0
# via -r requirements/quality.txt
# via -r /home/misha/work/cc2olx/requirements/quality.txt
cachetools==5.5.0
# via tox
certifi==2024.12.14
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# requests
chardet==5.2.0
# via tox
charset-normalizer==3.4.1
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# requests
click==8.1.8
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# black
colorama==0.4.6
# via tox
coverage[toml]==7.6.1
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# -r requirements/ci.in
# pytest-cov
distlib==0.3.9
# via virtualenv
django==4.2.17
# via -r /home/misha/work/cc2olx/requirements/quality.txt
exceptiongroup==1.2.2
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# pytest
filelock==3.16.1
# via
# tox
# virtualenv
flake8==7.1.1
# via -r requirements/quality.txt
# via -r /home/misha/work/cc2olx/requirements/quality.txt
idna==3.10
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# requests
iniconfig==2.0.0
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# pytest
lxml==5.3.0
# via -r requirements/quality.txt
# via -r /home/misha/work/cc2olx/requirements/quality.txt
mccabe==0.7.0
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# flake8
mypy-extensions==1.0.0
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# black
packaging==24.2
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# black
# pyproject-api
# pytest
# tox
pathspec==0.12.1
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# black
platformdirs==4.3.6
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# black
# tox
# virtualenv
pluggy==1.5.0
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# pytest
# tox
pycodestyle==2.12.1
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# flake8
pyflakes==3.2.0
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# flake8
pyproject-api==1.8.0
# via tox
pytest==8.3.4
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# pytest-cov
# pytest-django
# pytest-mock
pytest-cov==5.0.0
# via -r requirements/quality.txt
# via -r /home/misha/work/cc2olx/requirements/quality.txt
pytest-django==4.9.0
# via -r /home/misha/work/cc2olx/requirements/quality.txt
pytest-mock==3.14.0
# via -r requirements/quality.txt
# via -r /home/misha/work/cc2olx/requirements/quality.txt
requests==2.32.3
# via -r requirements/quality.txt
# via -r /home/misha/work/cc2olx/requirements/quality.txt
sqlparse==0.5.3
# via
# -r /home/misha/work/cc2olx/requirements/quality.txt
# django
tomli==2.2.1
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# black
# coverage
# pyproject-api
Expand All @@ -118,16 +135,17 @@ tox==4.23.2
# via -r requirements/ci.in
typing-extensions==4.12.2
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# asgiref
# black
# tox
urllib3==2.2.3
# via
# -r requirements/quality.txt
# -r /home/misha/work/cc2olx/requirements/quality.txt
# requests
virtualenv==20.28.1
# via tox
xmlformatter==0.2.8
# via -r requirements/quality.txt
# via -r /home/misha/work/cc2olx/requirements/quality.txt
youtube-dl==2021.12.17
# via -r requirements/quality.txt
# via -r /home/misha/work/cc2olx/requirements/quality.txt
Loading

0 comments on commit 50a33f9

Please sign in to comment.