Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Apply changes from the cookiecutter #6929

wants to merge 1 commit into from

Conversation

marcospri
Copy link
Member

@marcospri marcospri commented Dec 31, 2024

From the changes over: hypothesis/cookiecutters#188

@@ -5,7 +5,7 @@ groups:
eslint:
patterns:
- 'eslint*'
- '@typescript-eslint/*'
- 'typescript-eslint'
Copy link
Member Author

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
Copy link
Member Author

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]
Copy link
Member Author

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}}
Copy link
Member Author

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
Copy link
Member Author

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]
Copy link
Member Author

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
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant