More disables
This commit is contained in:
parent
633f5e6dc7
commit
20f74ba02b
|
@ -20,4 +20,5 @@ jobs:
|
||||||
pip install pylint
|
pip install pylint
|
||||||
- name: Analysing the code with pylint
|
- name: Analysing the code with pylint
|
||||||
run: |
|
run: |
|
||||||
pylint bookwyrm/ --ignore=migrations --disable=R,C,E1101
|
pylint bookwyrm/ --ignore=migrations --disable=E1101,E1136,R0903,R0901,W0707,W0511
|
||||||
|
|
||||||
|
|
|
@ -181,8 +181,6 @@ class EditionForm(CustomForm):
|
||||||
"authors",
|
"authors",
|
||||||
"parent_work",
|
"parent_work",
|
||||||
"shelves",
|
"shelves",
|
||||||
"subjects", # TODO
|
|
||||||
"subject_places", # TODO
|
|
||||||
"connector",
|
"connector",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
@ -356,7 +356,7 @@ class AnnualGoal(BookWyrmModel):
|
||||||
|
|
||||||
def get_remote_id(self):
|
def get_remote_id(self):
|
||||||
"""put the year in the path"""
|
"""put the year in the path"""
|
||||||
return "%s/goal/%d" % (self.user.remote_id, self.year)
|
return "{:s}/goal/{:d}".format(self.user.remote_id, self.year)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def books(self):
|
def books(self):
|
||||||
|
|
Loading…
Reference in New Issue