pylint
pylint copied to clipboard
It's not just a linter that annoys you!
Here's a simple repro ``` (tmp) bash-3.2$ tree . ├── foo │ ├── __init__.py │ └── bar.py └── tools └── foo └── foo.py 3 directories, 3 files ``` ``` (tmp)...
### Steps to reproduce 1. Create file with following source: ```python """Example of pylint scope error""" from unittest.mock import MagicMock def test1(): """No complains here""" bigquery = MagicMock() def get_table(ds_table):...
I run pylint from Vim using syntastic and lately it became painfully slow. For example for [this ~200 lines file](https://gist.github.com/bunyk/615d69abf89c8d9f88c95dd071c869e2) it takes 10 seconds to be linted: ``` $ python3.7...
### Steps to reproduce You can either clone this repo to get the test file tree: `git clone https://github.com/feluxe/test_pylint_ns_package_err.git` `cd` into it and run `pipenv install --dev --pre` or create...
### Steps to reproduce Consider this code: ``` class Thing: def __init__(self, thing_type: type): self._type = thing_type self._value = None @property def type(self): return self._type @property def value(self): return self._value...
### Steps to reproduce 1. Use the following MCVE: ```python """Shapely no-member false positive MCVE""" from shapely import wkt from shapely.geometry import Polygon POLYGON = Polygon([(0, 0), (0, 1), (1,...
### Steps to reproduce * create a virtual env with python3.5 * run it * install the latest TensorFlow and pylint via pip * create a file `bug.py` write the...
### Steps to reproduce 1. create `minimal.py`: ```python #pylint: disable=missing-docstring,invalid-name from flask import Flask app = Flask(__name__) @app.route('/') def _foo(): app.logger.debug('bar') return 'baz' ``` 2. run `pylint minimal.py` ### Current...
### Steps to reproduce 1. Create a new directory and initiate a virtual environment in that directory using virtualenv 2. Install pylint and PyQt5 using the venv's pip 3. Create...
### Is your feature request related to a problem? Please describe If an invalid type is detected in a Google type docstring, both missing-param-doc and missing-type-doc are raised. This is...