More disables

This commit is contained in:
Mouse Reeve 2021-06-18 13:23:06 -07:00
parent 633f5e6dc7
commit 20f74ba02b
3 changed files with 3 additions and 4 deletions

View file

@ -20,4 +20,5 @@ jobs:
pip install pylint
- name: Analysing the code with pylint
run: |
pylint bookwyrm/ --ignore=migrations --disable=R,C,E1101
pylint bookwyrm/ --ignore=migrations --disable=E1101,E1136,R0903,R0901,W0707,W0511

View file

@ -181,8 +181,6 @@ class EditionForm(CustomForm):
"authors",
"parent_work",
"shelves",
"subjects", # TODO
"subject_places", # TODO
"connector",
]

View file

@ -356,7 +356,7 @@ class AnnualGoal(BookWyrmModel):
def get_remote_id(self):
"""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
def books(self):