-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply changes from the cookiecutter #6929
base: main
Are you sure you want to change the base?
Conversation
d1d22ed
to
f896f45
Compare
@@ -5,7 +5,7 @@ groups: | |||
eslint: | |||
patterns: | |||
- 'eslint*' | |||
- '@typescript-eslint/*' | |||
- 'typescript-eslint' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include this change in the includes
@@ -37,6 +39,13 @@ You should also see an "Insecure content blocked" icon in the top right of the l | |||
|
|||
Click on the <samp>Load unsafe scripts</samp> link and the app should load successfully. | |||
|
|||
### Localhost alias |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving this to the includes
@@ -1,33 +0,0 @@ | |||
[tool.mypy] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This are all mypy's. They are part of the template now.
@@ -115,7 +115,7 @@ jobs: | |||
- name: Upload coverage file | |||
uses: actions/upload-artifact@v4 | |||
with: | |||
name: coverage | |||
name: coverage-python${{ matrix.python-version}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change from the template.
@@ -42,7 +44,7 @@ def delete(engine: Engine) -> None: | |||
"""Delete any existing DB tables.""" | |||
|
|||
try: | |||
from lms.db import pre_delete # noqa: PLC0415 | |||
from lms.db import pre_delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved the noqa to the top, simplifies the template for now.
@@ -10,32 +10,6 @@ filterwarnings = [ | |||
"ignore:^'cgi' is deprecated and slated for removal in Python 3\\.13$:DeprecationWarning:webob", | |||
] | |||
|
|||
[tool.coverage.run] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved below.
|
||
[tool.mypy] | ||
python_version = 3.11 | ||
allow_untyped_globals = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This defaults are the template ones
From the changes over: hypothesis/cookiecutters#188