Skip to content

Commit

Permalink
Fix CI lint of cookiecutter (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm authored Aug 28, 2023
1 parent 9550372 commit 89c84b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Install system dependencies
run: sudo apt update && sudo apt install gettext
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: 3.11
- name: Install cookiecutter
run: pip3 install cookiecutter
- name: Run cookiecutter
Expand All @@ -40,9 +40,6 @@ jobs:
- name: Run black
run: black --check .
working-directory: pretix-superplugin
- name: Run docformatter
run: docformatter --check -r .
working-directory: pretix-superplugin
- name: Run check-manifest
run: check-manifest .
working-directory: pretix-superplugin
Expand Down
2 changes: 1 addition & 1 deletion cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"module_name": "pretix_superplugin",
"human_name": "Superplugin",
"author_name": "Your name",
"author_email": "Your email",
"author_email": "your-email@example.org",
"year": "Current year",
"short_description": "Short description",
"license": ["Apache", "pretix Enterprise"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.utils.translation import gettext_lazy

from . import __version__

try:
Expand All @@ -23,5 +24,3 @@ class PretixPluginMeta:

def ready(self):
from . import signals # NOQA


0 comments on commit 89c84b4

Please sign in to comment.