From 3467109f3809d64055d2531ec042e079187301d2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 3 Nov 2024 20:15:58 +0200 Subject: [PATCH 1/3] Update pylint.yml --- .github/workflows/pylint.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 3e26154b..819948c1 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -54,7 +54,7 @@ jobs: pip install --no-deps -r RequirementsFiles/requirements-cuda-CPU.txt pip install --no-deps -r RequirementsFiles/requirements-llama-cpp-CPU.txt pip install --no-deps -r RequirementsFiles/requirements-stable-diffusion-cpp-CPU.txt - continue-on-error: true # Some dependencies might fail but we still want to lint + continue-on-error: true - name: Create .pylintrc run: | @@ -64,7 +64,7 @@ jobs: persistent=yes [MESSAGES CONTROL] - disable= + disable=\ C0111, # missing-docstring C0103, # invalid-name C0301, # line-too-long @@ -119,6 +119,16 @@ jobs: exit 1 fi + - name: Run MyPy + run: | + source venv/bin/activate + mypy LaunchFile/ + + - name: Run tests + run: | + source venv/bin/activate + python -m unittest discover -s tests || true + - name: Upload lint results if: always() uses: actions/upload-artifact@v3 @@ -157,4 +167,4 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, body: body - }); \ No newline at end of file + }); From cee7c90fd3bad4ec4bdba1120a8c4f5bd35613fd Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 3 Nov 2024 20:20:10 +0200 Subject: [PATCH 2/3] Update normal.md --- .github/ISSUE_TEMPLATE/normal.md | 21 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/normal.yml | 15 --------------- 2 files changed, 21 insertions(+), 15 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/normal.md delete mode 100644 .github/ISSUE_TEMPLATE/normal.yml diff --git a/.github/ISSUE_TEMPLATE/normal.md b/.github/ISSUE_TEMPLATE/normal.md new file mode 100644 index 00000000..199c6407 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/normal.md @@ -0,0 +1,21 @@ +--- +name: "🦆 Normal Issue report" +about: "Just describe your issue" +title: "🦆 [Issue] - " +labels: issue +--- + +## 🦆 Issue + + **Issue Description:** + + Please provide a clear and concise description of the issue. + + > **Fill out the field below:** + > + > _Describe the issue here so that others can understand your request._ + +--- + + > **Note:** The issue description field is required. + diff --git a/.github/ISSUE_TEMPLATE/normal.yml b/.github/ISSUE_TEMPLATE/normal.yml deleted file mode 100644 index bda01274..00000000 --- a/.github/ISSUE_TEMPLATE/normal.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: "🦆 Normal Issue report" -description: Just describe your issue -title: '🦆 [Issue] - <title>' -labels: [ - "issue" -] -body: - - type: textarea - id: Issue - validations: - required: true - attributes: - label: Issue - description: | - A clear and concise description of issue From 1f261327e1f4153e462e4db7e8aa04da691ef6fd Mon Sep 17 00:00:00 2001 From: Michael <dartvauder007@protonmail.com> Date: Sun, 3 Nov 2024 20:24:09 +0200 Subject: [PATCH 3/3] Update pylint.yml --- .github/workflows/pylint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 819948c1..2fab7701 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -105,10 +105,12 @@ jobs: mkdir -p ./reports pylint LaunchFile/ --output-format=json > ./reports/pylint-report.json || true pylint LaunchFile/ --output-format=text > ./reports/pylint-report.txt || true + continue-on-error: true - name: Run flake8 run: | flake8 LaunchFile/ --max-line-length=120 --statistics --tee --output-file=./reports/flake8-report.txt || true + continue-on-error: true - name: Check pylint score run: | @@ -123,11 +125,13 @@ jobs: run: | source venv/bin/activate mypy LaunchFile/ + continue-on-error: true - name: Run tests run: | source venv/bin/activate python -m unittest discover -s tests || true + continue-on-error: true - name: Upload lint results if: always()