Update linting settings, and drop Ubuntu 18.04 releases (#1014)

* Add E133 and W503 to ignored list for flake8
* Drop making releases for Ubuntu 18.04
This commit is contained in:
Veronica Berglyd Olsen
2022-03-15 22:07:33 +01:00
committed by GitHub
parent 7f43584ed5
commit ce4d3c0b5c
3 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -27,5 +27,5 @@ jobs:
flake8 tests --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Coding Style Violations
run: |
flake8 novelwriter --count --max-line-length=99 --ignore E221,E226,E228,E241 --show-source --statistics
flake8 tests --count --max-line-length=99 --ignore E221,E226,E228,E241 --show-source --statistics
flake8 novelwriter --count --max-line-length=99 --ignore E133,E221,E226,E228,E241,W503 --show-source --statistics
flake8 tests --count --max-line-length=99 --ignore E133,E221,E226,E228,E241,W503 --show-source --statistics
+1 -1
View File
@@ -49,6 +49,6 @@ gui_scripts =
universal = 0
[flake8]
ignore = E221,E226,E228,E241
ignore = E133,E221,E226,E228,E241,W503
max-line-length = 99
exclude = docs/*
-1
View File
@@ -786,7 +786,6 @@ def makeForLaunchpad(doSign=False, isFirst=False, isSnapshot=False):
bldNum = "0"
distLoop = [
("18.04", "bionic"),
("20.04", "focal"),
("21.10", "impish"),
("22.04", "jammy"),