From b28e772e9f2d12fdb0f1fce080862c6796d5fb66 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Tue, 20 Aug 2024 12:42:16 +0200 Subject: [PATCH] make the linter happy --- .github/workflows/style.yml | 50 +++++++++--------- .gitignore | 2 + MANIFEST.in | 3 +- pretalx_halfnarp/__init__.py | 2 +- .../locale/de_DE/LC_MESSAGES/django.mo | Bin 1707 -> 0 bytes 5 files changed, 30 insertions(+), 27 deletions(-) delete mode 100644 pretalx_halfnarp/locale/de_DE/LC_MESSAGES/django.mo diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 0fb195c..5ab510a 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -18,14 +18,14 @@ jobs: name: isort runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -41,14 +41,14 @@ jobs: name: flake8 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -65,14 +65,14 @@ jobs: name: black runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -89,14 +89,14 @@ jobs: name: djhtml runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} @@ -113,14 +113,14 @@ jobs: name: packaging runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install gettext run: sudo apt install gettext - - name: Set up Python 3.10 - uses: actions/setup-python@v1 + - name: Set up Python 3.12 + uses: actions/setup-python@v5 with: - python-version: "3.10" - - uses: actions/cache@v1 + python-version: "3.12" + - uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} diff --git a/.gitignore b/.gitignore index 8be8f5e..2b48278 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,5 @@ target/ #Ipython Notebook .ipynb_checkpoints + +pretalx_halfnarp/locale/**/*.mo diff --git a/MANIFEST.in b/MANIFEST.in index fc0d3f8..65554b3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,5 +2,6 @@ recursive-include pretalx_halfnarp/static * recursive-include pretalx_halfnarp/templates * exclude pretalx_halfnarp/locale/django.pot recursive-include pretalx_halfnarp/locale * -recursive-include pretalx_halfnarp/ *.py +recursive-include pretalx_halfnarp *.py include Makefile +recursive-exclude images *.png diff --git a/pretalx_halfnarp/__init__.py b/pretalx_halfnarp/__init__.py index 1a72d32..6849410 100644 --- a/pretalx_halfnarp/__init__.py +++ b/pretalx_halfnarp/__init__.py @@ -1 +1 @@ -__version__ = '1.1.0' +__version__ = "1.1.0" diff --git a/pretalx_halfnarp/locale/de_DE/LC_MESSAGES/django.mo b/pretalx_halfnarp/locale/de_DE/LC_MESSAGES/django.mo deleted file mode 100644 index dfe4eda2df17f5b44c56125b2167cadcbf37a4ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1707 zcmaJ>O^+Kz5FH?VS#Tg1J_J%pTtMs?$19Y`BnZMf(ki=RwOLl;0&35cJsnSXTU|Xi zUUA@0@DKK9L|j(lXCQIo2;u?VXwoU z!1Ve9_7dz**zd5vVQ;{GdoIgf1^xwm2ly}WP2gM4XW2tw4|oXt0oVur0=x&Ge}J0* z_Khri4bMZM#-F~JWjBEi_&)GQ;M>4U;J3h^f!_e%1DSo`0*LVTdI7&L!{Cx3U3;NS z+tVxSXXUDWWWzc8B-x>-R58_75{aN+e{EVXnkJ8J% z4V{YX88xEuMHPZD#Sol4rLbby)^R2kRa@dZdpA3>eyXwOA#r|UCY&9I$S6M!xC4=s z$Y>#=sYlJoSrHq&WcXJwD3kECcF``gv&tZ!l2y{mO&b8cS#3NSw3yHr&0?5D>`tut<+Qo7V;sj zx8|25o8D;2sfz}~V=hvDSmx&#JK7vj=agq5ruwFn->O43uXJ{hv_vvHo&H7Jqv`iFE_r5-Rkl)$(X)ib(`Op_ZCqAG%Bbz$e(E7-> zs2V?EuVTU;sL|w-xWaa@x+7={3x=9-%&BZtQ;darI0~Ur_Q5&!aNS8qd2TH|Z z!svD@IEz7npktk#Z$&HHK9ZlrtIPJ2bAjjsh>=0vi0D{!uB)#0h@q4bi|9uN0&e99 zJzjSE@e4}i%gAOHXW