Skip to content

Commit 84943c1

Browse files
Merge pull request #66 from devind-team/develop
Develop
2 parents 90e70ca + b0f7a66 commit 84943c1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/checkout@v3
5454
- name: Bump version and push tag
5555
id: tag_version
56-
uses: mathieudutour/github-tag-action@v6.0
56+
uses: mathieudutour/github-tag-action@v6.1
5757
with:
5858
github_token: ${{ secrets.GITHUB_TOKEN }}
5959
- name: Create a GitHub release

Diff for: pyproject.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ authors = ["MarionetkaX <[email protected]>"]
66

77
[tool.poetry.dependencies]
88
python = "^3.10"
9-
fastapi = "^0.79.0"
10-
uvicorn = "^0.18.2"
9+
fastapi = "^0.86.0"
10+
uvicorn = "^0.19.0"
1111
SQLAlchemy = "^1.4.32"
1212
alembic = "^1.7.7"
13-
sqlmodel = "^0.0.6"
13+
sqlmodel = "^0.0.8"
1414
psycopg2-binary = "^2.9.3"
15-
asyncpg = "^0.26.0"
16-
python-dotenv = "^0.20.0"
15+
asyncpg = "^0.27.0"
16+
python-dotenv = "^0.21.0"
1717
docxtpl = "^0.16.0"
1818
Jinja2 = "^3.1.1"
1919
aioschedule = "^0.5.2"
@@ -23,7 +23,7 @@ python-multipart = "^0.0.5"
2323
flake8 = "^5.0.4"
2424
flake8-import-order = "^0.18.1"
2525
flake8-docstrings = "^1.6.0"
26-
flake8-builtins = "^1.5.3"
26+
flake8-builtins = "^2.0.1"
2727
flake8-quotes = "^3.3.1"
2828
flake8-comprehensions = "^3.10.0"
2929
flake8-eradicate = "^1.2.0"

Diff for: services/network_load.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
def interest_calculation() -> dict:
77
"""Генерация процента нагруженности сети."""
88
if datetime.today().month == 1 or 6 <= datetime.today().month <= 8:
9-
return week_day(average_load=15, maximum_load=42, start=0, average=5, end=10)
9+
return week_day(average_load=42, maximum_load=45, start=5, average=10, end=20)
1010
else:
11-
return week_day(average_load=45, maximum_load=45, start=5, average=10, end=20)
11+
return week_day(average_load=15, maximum_load=42, start=0, average=5, end=10)
1212

1313

1414
def week_day(average_load: int, maximum_load: int, start: int, average: int, end: int) -> dict:

0 commit comments

Comments
 (0)