diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000000..35a2d7e98b5 --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +[flake8] +max-line-length: 128 diff --git a/docs/guide/generate_objects_doc.py b/docs/guide/generate_objects_doc.py index 85efed72aed..6b1a0ec0002 100755 --- a/docs/guide/generate_objects_doc.py +++ b/docs/guide/generate_objects_doc.py @@ -128,7 +128,7 @@ imagePath = 'images/%s/%s.png' % (category, protoName) if os.path.exists(imagePath): os.remove(imagePath) - thumbnailPath = imagePath.replace('.png', '.thumbnail.png') + thumbnailPath = imagePath.replace('.png', '.thumbnail.png') if os.path.exists(thumbnailPath): os.remove(thumbnailPath) continue