Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master-develop' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
stepanskryabin authored Jul 11, 2021
2 parents 19a17e3 + 082ae05 commit be6c3ba
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 3 deletions.
26 changes: 25 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion mod/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ class Config:
errors: Optional[Errors] = None
jsonapi: Optional[Version] = None
meta: Optional[Any] = None

def toJSON(self):
return json.dumps(self,
ensure_ascii=False,
Expand Down
7 changes: 6 additions & 1 deletion settings/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ def add_logging(debug_status: int) -> None:
The information is also duplicated in the console
Args:
TODO: добавить описание типов дебаг статусов
debug_status (str, requires): ?
50 - CRITICAL
40 - ERROR
30 - WARNING
20 - INFO
10 - DEBUG
Returns:
None
"""
Expand Down
1 change: 1 addition & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
FIXTURES_PATH = os.path.join(BASE_PATH, 'fixtures')
VALID_JSON = os.path.join(FIXTURES_PATH, 'api.json')
sys.path.append(os.path.split(BASE_PATH)[0])

from mod import api # noqa


Expand Down
1 change: 1 addition & 0 deletions tests/test_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
BASE_PATH = os.path.abspath(os.path.dirname(__file__))
FIXTURES_PATH = os.path.join(BASE_PATH, "fixtures")
sys.path.append(os.path.split(BASE_PATH)[0])

from mod import api # noqa
from mod import controller # noqa
from mod import lib # noqa
Expand Down

0 comments on commit be6c3ba

Please sign in to comment.