generated from Hochfrequenz/python_template_repository
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add Code from p2l repo #4
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# specific requirements for the tox tests env | ||
pytest | ||
pytest-asyncio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
# | ||
# This file is autogenerated by pip-compile with python 3.10 | ||
# To update, run: | ||
# This file is autogenerated by pip-compile with Python 3.11 | ||
# by the following command: | ||
# | ||
# pip-compile requirements-tests.in | ||
# pip-compile '.\dev_requirements\requirements-tests.in' | ||
# | ||
colorama==0.4.6 | ||
# via pytest | ||
iniconfig==2.0.0 | ||
# via pytest | ||
packaging==23.0 | ||
# via pytest | ||
pluggy==1.0.0 | ||
# via pytest | ||
pytest==7.4.2 | ||
# via -r dev_requirements/requirements-tests.in | ||
# via | ||
# -r .\dev_requirements\requirements-tests.in | ||
# pytest-asyncio | ||
pytest-asyncio==0.21.1 | ||
# via -r .\dev_requirements\requirements-tests.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# specific requirements for the tox type_check environment | ||
mypy | ||
types-pytz | ||
types-python-dateutil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# | ||
# This file is autogenerated by pip-compile with python 3.10 | ||
# To update, run: | ||
# This file is autogenerated by pip-compile with Python 3.11 | ||
# by the following command: | ||
# | ||
# pip-compile requirements-type_check.in | ||
# pip-compile '.\dev_requirements\requirements-type_check.in' | ||
# | ||
mypy==1.5.1 | ||
# via -r dev_requirements/requirements-type_check.in | ||
# via -r .\dev_requirements\requirements-type_check.in | ||
mypy-extensions==1.0.0 | ||
# via mypy | ||
typing-extensions==4.5.0 | ||
types-python-dateutil==2.8.19.14 | ||
# via -r .\dev_requirements\requirements-type_check.in | ||
types-pytz==2023.3.1.1 | ||
# via -r .\dev_requirements\requirements-type_check.in | ||
typing-extensions==4.8.0 | ||
# via mypy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
bomf | ||
pvframework | ||
ibims | ||
python-dateutil | ||
pydantic[email] | ||
more_itertools | ||
pytz | ||
schwifty | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
""" | ||
src contains all your business logic | ||
This package provides `ValidationManager`s to validate data sets from `ibims`. Currently, only customer, resource and | ||
network data sets are supported. | ||
The `ValidationManager`s are provided through `injector.Module`s. | ||
""" | ||
|
||
|
||
def return_foo() -> str: | ||
""" | ||
returns foo (this is just to have some business logic and a non null coverage ;) | ||
""" | ||
return "foo" | ||
from .customer_loader import ValidationManagerProviderCustomer | ||
from .network_loader import ValidationManagerProviderNetwork | ||
from .resource_loader import ValidationManagerProviderResource |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
diesmal aber pyproject.toml, amiright?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja, ist mir auch grade aufgefallen ^^