diff --git a/.pylintrc b/.pylintrc index 7dc3e88..26d9ad8 100644 --- a/.pylintrc +++ b/.pylintrc @@ -19,8 +19,6 @@ disable= R0915, R1705, W0511, - W1201, - W1202, W5102, W5103, W5104, diff --git a/db/base/tasks.py b/db/base/tasks.py index bea64c5..f86279a 100644 --- a/db/base/tasks.py +++ b/db/base/tasks.py @@ -90,7 +90,7 @@ def update_all_tle(): # Epoch of new TLE is larger then the TLE already in the db continue except ValueError: - LOGGER.error('ERROR: TLE malformed for ' + norad_id) + LOGGER.error('ERROR: TLE malformed for %s', norad_id) continue satellite.tle_source = source diff --git a/db/base/views.py b/db/base/views.py index 151f3a7..df8d749 100644 --- a/db/base/views.py +++ b/db/base/views.py @@ -191,7 +191,7 @@ def transmitter_suggestion(request): return redirect(reverse('satellite', kwargs={'norad': transmitter.satellite.norad_cat_id})) else: LOGGER.error( - 'Suggestion form was not valid {0}'.format(transmitter_form.errors), + 'Suggestion form was not valid %s', format(transmitter_form.errors), exc_info=True, extra={ 'form': transmitter_form.errors,