fix(pre-commit): fix mypy error (#26)
This commit is contained in:
Родитель
88a4079caa
Коммит
727a5f73d1
|
@ -28,9 +28,7 @@ jobs:
|
|||
python -m playwright install
|
||||
- name: Lint
|
||||
run: |
|
||||
black --check .
|
||||
mypy .
|
||||
flake8 pytest_playwright tests
|
||||
pre-commit run --all-files
|
||||
- name: Test
|
||||
if: ${{ matrix.os != 'ubuntu-latest' }}
|
||||
run: pytest --cov=pytest_playwright --cov-report xml
|
||||
|
|
|
@ -140,4 +140,4 @@ dmypy.json
|
|||
.vscode
|
||||
|
||||
_repo_version.py
|
||||
.DS_Store
|
||||
.DS_Store
|
||||
|
|
|
@ -14,7 +14,7 @@ Instead, please report them to the Microsoft Security Response Center (MSRC) at
|
|||
|
||||
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
|
||||
|
||||
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
|
||||
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
|
||||
|
||||
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
|
||||
|
||||
|
@ -38,4 +38,4 @@ We prefer all communications to be in English.
|
|||
|
||||
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).
|
||||
|
||||
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
||||
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
||||
|
|
|
@ -13,7 +13,7 @@ SECRET_KEY = "123"
|
|||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
|
||||
|
||||
# Application definition
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.urls import path # type:ignore
|
||||
|
||||
urlpatterns = [
|
||||
path("admin/", admin.site.urls),
|
||||
|
|
Загрузка…
Ссылка в новой задаче