summaryrefslogtreecommitdiff
path: root/pylint.rc
Commit message (Collapse)AuthorAgeFilesLines
* Prevent `pylint` import errors on `six.moves`Jeff Widman2018-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | `six.moves` is a dynamically-created namespace that doesn't actually exist and therefore `pylint` can't statically analyze it. By default, `pylint` is smart enough to realize that and ignore the import errors. However, because we vendor it, the location changes to `kafka.vendor.six.moves` so `pylint` doesn't realize it should be ignored. So this explicitly ignores it. `pylint` documentation of this feature: http://pylint.pycqa.org/en/1.9/technical_reference/features.html?highlight=ignored-modules#id34 More background: * https://github.com/PyCQA/pylint/issues/1640 * https://github.com/PyCQA/pylint/issues/223
* Introduce new fixtures to prepare for migration to pytest.Andre Araujo2018-02-211-0/+1
| | | | | | | This commits adds new pytest fixtures in prepation for the migration of unittest.TestCases to pytest test cases. The handling of temporary dir creation was also changed so that we can use the pytest tmpdir fixture after the migration.
* Ignore not-context-manager pylint error (#1092)Dana Powers2017-04-291-0/+3
|
* Ignore _socketobject errors in pylint -- v1.5.4 started throwing no-member ↵Dana Powers2016-01-231-1/+1
| | | | errors on python 2.7
* Added pylint.rc: ignoring SyncManager for pylintViktor Shlapakov2015-03-241-0/+2