Drop dictionary alignment by colon
This commit is contained in:
@@ -25,5 +25,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 nw --count --max-line-length=99 --ignore E203,E221,E226,E228,E241,E251 --show-source --statistics
|
flake8 nw --count --max-line-length=99 --ignore E221,E226,E228,E241,E251 --show-source --statistics
|
||||||
flake8 tests --count --max-line-length=99 --ignore E203,E221,E226,E228,E241,E251 --show-source --statistics
|
flake8 tests --count --max-line-length=99 --ignore E221,E226,E228,E241,E251 --show-source --statistics
|
||||||
|
|||||||
@@ -106,9 +106,6 @@ readable than lists. They should be used sparingly though.
|
|||||||
The ignored errors are all `pycodestyle` errors, and they are documented
|
The ignored errors are all `pycodestyle` errors, and they are documented
|
||||||
[here](https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes).
|
[here](https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes).
|
||||||
|
|
||||||
**E203:** whitespace before ‘:’
|
|
||||||
**Reason:** Column alignment.
|
|
||||||
|
|
||||||
**E221:** multiple spaces before operator
|
**E221:** multiple spaces before operator
|
||||||
**Reason:** Column alignment.
|
**Reason:** Column alignment.
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -203,11 +203,11 @@ class NWProject():
|
|||||||
self.bookAuthors = []
|
self.bookAuthors = []
|
||||||
self.autoReplace = {}
|
self.autoReplace = {}
|
||||||
self.titleFormat = {
|
self.titleFormat = {
|
||||||
"title" : r"%title%",
|
"title": "%title%",
|
||||||
"chapter" : self.tr("Chapter")+r" %ch%: %title%",
|
"chapter": self.tr("Chapter")+" %ch%: %title%",
|
||||||
"unnumbered" : r"%title%",
|
"unnumbered": "%title%",
|
||||||
"scene" : r"* * *",
|
"scene": "* * *",
|
||||||
"section" : r"",
|
"section": "",
|
||||||
}
|
}
|
||||||
self.spellCheck = False
|
self.spellCheck = False
|
||||||
self.autoOutline = True
|
self.autoOutline = True
|
||||||
|
|||||||
Reference in New Issue
Block a user