-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to using pyproject for dependencies #623
Conversation
Also update to work with Django 5.1
Old Energy EstimationEco-CI Output:
🌳 CO2 Data: |
Old Energy EstimationEco-CI Output:
🌳 CO2 Data: |
Old Energy EstimationEco-CI Output:
🌳 CO2 Data: |
Old Energy EstimationEco-CI Output:
🌳 CO2 Data: |
Old Energy EstimationEco-CI Output:
🌳 CO2 Data: |
Old Energy EstimationEco-CI Output:
🌳 CO2 Data: |
Eco-CI Output:
🌳 CO2 Data: |
This pull request includes several changes across different files to improve code quality, functionality, and configuration. The most important changes include the removal of an unused fixture, modifications to the
fake_evidence
function, updates to import statements, the addition of ajustfile
for task automation, and the introduction of apyproject.toml
for project configuration.Codebase simplification:
mock_open
fixture fromapps/accounts/tests/test_provider_request.py
as it was not being used.fake_evidence
function inapps/accounts/tests/test_provider_request.py
to useio.BytesIO
for file creation.mock_open
parameter from thetest_evidence_validation_fails
function inapps/accounts/tests/test_provider_request.py
.Code improvements:
apps/greencheck/api/views.py
to improve readability.length_is
filter withlength
in several HTML templates to ensure compatibility with newer Django versions. [1] [2] [3]Configuration and dependencies:
justfile
to automate common development tasks, such as creating a virtual environment, running tests, and deploying releases.pyproject.toml
file for managing project dependencies and configurations, replacingrequirements/requirements.in
andrequirements/requirements.dev.in
. [1] [2] [3]