Compare commits

..
8 Commits
Author SHA1 Message Date
Brian Bjarke Jensen d13e069287 Merge pull request 'added separate flush interval' (#13) from main into release
Docker / Test (push) Successful in 39s
Docker / Publish (push) Successful in 13s
Reviewed-on: http://192.168.1.2:3000/brian/bandwidth_probing/pulls/13
2023-07-12 14:16:02 +02:00
brb bc0d2aced7 updated flake8 outputs
pipeline / Test (push) Successful in 39s
2023-07-12 14:11:35 +02:00
brb d872cfde43 flake8 compliant 2023-07-12 14:11:05 +02:00
brb 7a396a88fb updated workflow
pipeline / Test (push) Failing after 34s
2023-07-12 14:08:51 +02:00
brb 238188f4a5 introduced flake8 error 2023-07-12 14:08:37 +02:00
brb 63975169c0 mypy compliant
pipeline / Test (push) Successful in 38s
2023-07-12 14:04:10 +02:00
brb 387986e2d8 flake8 compliant 2023-07-12 14:03:41 +02:00
Brian Bjarke Jensen 1760fc8136 Merge pull request 'added data queue' (#9) from main into release
Docker / Publish (push) Successful in 13s
Docker / Test (push) Successful in 39s
Reviewed-on: http://192.168.1.2:3000/brian/bandwidth_probing/pulls/9
2023-07-12 12:59:05 +02:00
5 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -23,6 +23,6 @@ jobs:
pip install flake8 mypy pytest pip install flake8 mypy pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: PEP8 check - name: PEP8 check
run: flake8 ./code --benchmark --exit-zero run: flake8 ./code --benchmark
- name: Type check - name: Type check
run: mypy ./code run: mypy ./code
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
pip install flake8 mypy pytest pip install flake8 mypy pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: PEP8 check - name: PEP8 check
run: flake8 ./code --benchmark --exit-zero run: flake8 ./code --benchmark
- name: Type check - name: Type check
run: mypy ./code run: mypy ./code
publish: publish:
+6 -2
View File
@@ -27,7 +27,11 @@ def initialise_app(
""" """
# load environment variables # load environment variables
load_dotenv() load_dotenv()
assert 'USER_ID' in os.environ, 'environment variable USER_ID must be specified' assert (
'USER_ID' in os.environ
), (
'environment variable USER_ID must be specified'
)
logger_level = os.getenv( logger_level = os.getenv(
'LOGGER_LEVEL', 'LOGGER_LEVEL',
default=LOGGER_LEVEL default=LOGGER_LEVEL
@@ -63,5 +67,5 @@ def initialise_app(
if __name__ == '__main__': if __name__ == '__main__':
user_id = initialise_app() initialise_app()
logging.warning('test message') logging.warning('test message')