Permalink
Browse files

travis/pylint iteration

  • Loading branch information...
mjbommar committed May 17, 2018
1 parent d3b5685 commit b957a3e805344213ef5b471b43aaef3903486167
Showing with 4 additions and 4 deletions.
  1. +1 −1 .pylintrc
  2. +2 −2 lexpredict_openedgar/openedgar/tasks.py
  3. +1 −1 lexpredict_openedgar/sample.env
@@ -2,7 +2,7 @@
max-line-length=120

[MESSAGES CONTROL]
disable=r,c,w0511
disable=r,c,w0511,w1202,e1101

[DESIGN]
max-parents=13
@@ -399,7 +399,7 @@ def process_filing(s3_path: str, filing_buffer: Union[str, bytes] = None, store_
filing.is_processed = False
filing.is_error = True
filing.save()
except Exception as e:
except Exception as e: # pylint: disable=bare-except
logger.error("Unable to create filing record: {0}".format(e))
return None

@@ -410,7 +410,7 @@ def process_filing(s3_path: str, filing_buffer: Union[str, bytes] = None, store_
filing.is_error = False
filing.save()
return filing
except Exception as e:
except Exception as e: # pylint: disable=bare-except
logger.error("Unable to create filing documents for {0}: {1}".format(filing, e))
return None

@@ -36,7 +36,7 @@ DJANGO_ACCOUNT_ALLOW_REGISTRATION=True
# AWS setup
S3_ACCESS_KEY=ABCDEFGHIJKLMNOPQRST
S3_SECRET_KEY="abcdefghijklmnopqrstuvwxyz12345678901234"
S3_BUCKET=openedgar
S3_BUCKET=
S3_DOCUMENT_PATH=documents
S3_PREFIX=data
S3_COMPRESSION_LEVEL=9

0 comments on commit b957a3e

Please sign in to comment.