From cf1e6c73d0366124485c1d767b89ac1cc301705b Mon Sep 17 00:00:00 2001 From: Keisuke Fujii Date: Mon, 8 Oct 2018 00:40:07 +0200 Subject: [PATCH] pep8speaks (#2462) * yml for pep8speaks * Updated yml * Intensionally added a badly styled scripts * experimentally removed yml * .yml file taken from pandas-dev/pandas/.pep8speaks.yml * Undo inteded pep8 violation --- .pep8speaks.yml | 11 +++++++++++ .stickler.yml | 11 ----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 .pep8speaks.yml delete mode 100644 .stickler.yml diff --git a/.pep8speaks.yml b/.pep8speaks.yml new file mode 100644 index 00000000000..cd610907007 --- /dev/null +++ b/.pep8speaks.yml @@ -0,0 +1,11 @@ +# File : .pep8speaks.yml + +scanner: + diff_only: True # If True, errors caused by only the patch are shown + +pycodestyle: + max-line-length: 79 + ignore: # Errors and warnings to ignore + - E402, # module level import not at top of file + - E731, # do not assign a lambda expression, use a def + - W503 # line break before binary operator diff --git a/.stickler.yml b/.stickler.yml deleted file mode 100644 index 79d8b7fb717..00000000000 --- a/.stickler.yml +++ /dev/null @@ -1,11 +0,0 @@ -linters: - flake8: - max-line-length: 79 - fixer: false - ignore: I002 - # stickler doesn't support 'exclude' for flake8 properly, so we disable it - # below with files.ignore: - # https://github.com/markstory/lint-review/issues/184 -files: - ignore: - - doc/**/*.py