-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1623d0e
commit 0095acb
Showing
25 changed files
with
146 additions
and
30 deletions.
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
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,44 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-docstring-first | ||
- id: check-merge-conflict | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.1.0 | ||
hooks: | ||
- id: flake8 | ||
exclude: migrations/|.*settings(\.py|/)? | ||
additional_dependencies: | ||
- flake8-isort | ||
- flake8-django | ||
|
||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v1.6.0 | ||
hooks: | ||
- id: mypy | ||
additional_dependencies: | ||
- django-stubs | ||
|
||
- repo: local | ||
hooks: | ||
- id: export-dev-dependencies | ||
name: Export dev Dependencies | ||
language: system | ||
pass_filenames: false | ||
entry: poetry export --without-hashes --dev --output requirements/develop.txt | ||
files: ^(pyproject.toml|poetry.lock)$ | ||
- id: export-prod-dependencies | ||
name: Export prod Dependencies | ||
language: system | ||
pass_filenames: false | ||
entry: poetry export --without-hashes --output requirements/production.txt | ||
files: ^(pyproject.toml|poetry.lock)$ |
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
23 changes: 23 additions & 0 deletions
23
adaptive_hockey_federation/main/migrations/0003_alter_health_revision_alter_player_sex.py
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,23 @@ | ||
# Generated by Django 4.2.7 on 2023-12-08 22:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('main', '0002_alter_player_patronymic'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='health', | ||
name='revision', | ||
field=models.CharField(blank=True, max_length=256, verbose_name='Пересмотр класса ХДН'), | ||
), | ||
migrations.AlterField( | ||
model_name='player', | ||
name='sex', | ||
field=models.CharField(blank=True, choices=[('male', 'Мужской'), ('female', 'Женский')], max_length=6, verbose_name='Пол'), | ||
), | ||
] |
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
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 |
---|---|---|
|
@@ -57,4 +57,4 @@ | |
</div> | ||
</div> | ||
</body> | ||
</html> | ||
</html> |
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 |
---|---|---|
|
@@ -41,4 +41,4 @@ | |
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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 |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
</nav> |
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 |
---|---|---|
|
@@ -31,4 +31,4 @@ | |
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</table> |
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,5 +1,4 @@ | ||
from django.contrib import admin | ||
|
||
from users.models import User | ||
|
||
|
||
|
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
23 changes: 23 additions & 0 deletions
23
...ive_hockey_federation/users/migrations/0003_alter_user_first_name_alter_user_last_name.py
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,23 @@ | ||
# Generated by Django 4.2.7 on 2023-12-08 22:05 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('users', '0002_alter_user_first_name_alter_user_last_name'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='user', | ||
name='first_name', | ||
field=models.CharField(default='', max_length=256), | ||
), | ||
migrations.AlterField( | ||
model_name='user', | ||
name='last_name', | ||
field=models.CharField(default='', max_length=256), | ||
), | ||
] |
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 |
---|---|---|
|
@@ -23,4 +23,4 @@ services: | |
|
||
volumes: | ||
static_value: | ||
media_value: | ||
media_value: |
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 |
---|---|---|
|
@@ -4,4 +4,4 @@ sleep 5 | |
app/.venv/bin/python manage.py collectstatic --noinput | ||
mv /static/* /app/static/ | ||
|
||
exec "$@" | ||
exec "$@" |
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ server { | |
location / { | ||
proxy_pass http://site:8000; | ||
} | ||
} | ||
} |
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,17 @@ | ||
asgiref==3.7.2 ; python_version >= "3.11" and python_version < "4.0" | ||
click==8.1.7 ; python_version >= "3.11" and python_version < "4.0" | ||
colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and platform_system == "Windows" | ||
django==4.2.7 ; python_version >= "3.11" and python_version < "4.0" | ||
et-xmlfile==1.1.0 ; python_version >= "3.11" and python_version < "4.0" | ||
gunicorn==21.2.0 ; python_version >= "3.11" and python_version < "4.0" | ||
isort==5.12.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mypy-extensions==1.0.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mypy==1.6.0 ; python_version >= "3.11" and python_version < "4.0" | ||
openpyxl-stubs==0.1.25 ; python_version >= "3.11" and python_version < "4.0" | ||
openpyxl==3.1.2 ; python_version >= "3.11" and python_version < "4.0" | ||
packaging==23.2 ; python_version >= "3.11" and python_version < "4.0" | ||
sqlparse==0.4.4 ; python_version >= "3.11" and python_version < "4.0" | ||
types-openpyxl==3.1.0.27 ; python_version >= "3.11" and python_version < "4.0" | ||
typing-extensions==4.8.0 ; python_version >= "3.11" and python_version < "4.0" | ||
tzdata==2023.3 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32" | ||
wrapt==1.16.0 ; python_version >= "3.11" and python_version < "4.0" |
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,16 @@ | ||
asgiref==3.7.2 ; python_version >= "3.11" and python_version < "4.0" | ||
click==8.1.7 ; python_version >= "3.11" and python_version < "4.0" | ||
colorama==0.4.6 ; python_version >= "3.11" and python_version < "4.0" and platform_system == "Windows" | ||
django==4.2.7 ; python_version >= "3.11" and python_version < "4.0" | ||
et-xmlfile==1.1.0 ; python_version >= "3.11" and python_version < "4.0" | ||
gunicorn==21.2.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mypy-extensions==1.0.0 ; python_version >= "3.11" and python_version < "4.0" | ||
mypy==1.6.0 ; python_version >= "3.11" and python_version < "4.0" | ||
openpyxl-stubs==0.1.25 ; python_version >= "3.11" and python_version < "4.0" | ||
openpyxl==3.1.2 ; python_version >= "3.11" and python_version < "4.0" | ||
packaging==23.2 ; python_version >= "3.11" and python_version < "4.0" | ||
sqlparse==0.4.4 ; python_version >= "3.11" and python_version < "4.0" | ||
types-openpyxl==3.1.0.27 ; python_version >= "3.11" and python_version < "4.0" | ||
typing-extensions==4.8.0 ; python_version >= "3.11" and python_version < "4.0" | ||
tzdata==2023.3 ; python_version >= "3.11" and python_version < "4.0" and sys_platform == "win32" | ||
wrapt==1.16.0 ; python_version >= "3.11" and python_version < "4.0" |
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 |
---|---|---|
|
@@ -9,5 +9,4 @@ exclude = | |
env/ | ||
per-file-ignores = | ||
*/settings.py:E501 | ||
max-complexity = 10 | ||
|
||
max-complexity = 10 |