mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-11 22:29:36 +01:00
pep: fix E111
This commit is contained in:
3
.pep8
3
.pep8
@@ -1,5 +1,4 @@
|
||||
[pep8]
|
||||
# E111 indentation is not a multiple of four
|
||||
# E121 continuation line under-indented for hanging indent
|
||||
# E122 continuation line missing indentation or outdented
|
||||
# E124 closing bracket does not match visual indentation
|
||||
@@ -13,5 +12,5 @@
|
||||
# E302 expected 2 blank lines, found 1
|
||||
# E501 line too long (312 > 160 characters)
|
||||
# E502 the backslash is redundant between brackets
|
||||
ignore = E111,E121,E122,E123,E124,E125,E126,E127,E128,E261,E262,E265,E302,E501,E502
|
||||
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E261,E262,E265,E302,E501,E502
|
||||
max-line-length = 160
|
||||
@@ -676,9 +676,9 @@ def renameNFO(albumpath):
|
||||
def moveFiles(albumpath, release, tracks):
|
||||
logger.info("Moving files: %s" % albumpath)
|
||||
try:
|
||||
date = release['ReleaseDate']
|
||||
date = release['ReleaseDate']
|
||||
except TypeError:
|
||||
date = u''
|
||||
date = u''
|
||||
year = date[:4]
|
||||
artist = release['ArtistName'].replace('/', '_')
|
||||
album = release['AlbumTitle'].replace('/', '_')
|
||||
|
||||
Reference in New Issue
Block a user