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:
committed by
GitHub
parent
7f43584ed5
commit
ce4d3c0b5c
@@ -27,5 +27,5 @@ jobs:
|
|||||||
flake8 tests --count --select=E9,F63,F7,F82 --show-source --statistics
|
flake8 tests --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
- name: Coding Style Violations
|
- name: Coding Style Violations
|
||||||
run: |
|
run: |
|
||||||
flake8 novelwriter --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 E221,E226,E228,E241 --show-source --statistics
|
flake8 tests --count --max-line-length=99 --ignore E133,E221,E226,E228,E241,W503 --show-source --statistics
|
||||||
|
|||||||
@@ -49,6 +49,6 @@ gui_scripts =
|
|||||||
universal = 0
|
universal = 0
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E221,E226,E228,E241
|
ignore = E133,E221,E226,E228,E241,W503
|
||||||
max-line-length = 99
|
max-line-length = 99
|
||||||
exclude = docs/*
|
exclude = docs/*
|
||||||
|
|||||||
@@ -786,7 +786,6 @@ def makeForLaunchpad(doSign=False, isFirst=False, isSnapshot=False):
|
|||||||
bldNum = "0"
|
bldNum = "0"
|
||||||
|
|
||||||
distLoop = [
|
distLoop = [
|
||||||
("18.04", "bionic"),
|
|
||||||
("20.04", "focal"),
|
("20.04", "focal"),
|
||||||
("21.10", "impish"),
|
("21.10", "impish"),
|
||||||
("22.04", "jammy"),
|
("22.04", "jammy"),
|
||||||
|
|||||||
Reference in New Issue
Block a user