Commit 61bc5866 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Remove pylint

parent 5c71c506
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -78,9 +78,3 @@ repos:
    - flake8-return
    - flake8-sfs
    - flake8-tabs

- repo: https://code.kodo.org.uk/dom/pre-commit-pylint
  rev: v0.1
  hooks:
  - id: pylint
    args: [--extras=test, --fail-under=9.0]
+0 −30
Original line number Diff line number Diff line
@@ -164,34 +164,4 @@ include =
  ; B950 is a replacement for E501
  B0 B903 B950

[pylint.MASTER]
persistent=yes
ignore =
  __pycache__
  .*

[pylint.BASIC]
const-rgx = (([A-Z_][A-Z0-9_]*)|(_[A-Za-z0-9_]+))$
good-names = db, i, a, b, ab, t

[pylint.REPORTS]
reports = no

[pylint.FORMAT]
indent-string = '\t'

[pylint.DESIGN]
max-attributes = 10

[pylint.MESSAGES CONTROL]
disable =
  bad-continuation,
  ; Would be nice to not disable but it is bugged; it trys to interpret tabs as
  ; spaces.

  trailing-whitespace,
  ; Would be nice to have enabled for *code* but not for comments or
  ; multi-line strings.


; vim: sw=2 sts=2 expandtab
+0 −1
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@ class AsyncMock(mock.Mock):
		mock._safe_super(AsyncMock, self).__init__(*args, **kwargs)
		self.delay = delay

	# pylint: disable=no-self-argument,invalid-overridden-method
	async def __call__(_mock_self, *args, **kwargs):
		_mock_self._mock_check_sig(*args, **kwargs)
		await anyio.sleep(_mock_self.delay)
+0 −1
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ class _UnknownTypeMeta(type):
		return isinstance(instance, (str, int))


# pylint: disable=too-few-public-methods
class UnknownType(metaclass=_UnknownTypeMeta):
	"""A pseudo type for unknown variables which forces non-ints into strings"""

+0 −1
Original line number Diff line number Diff line
@@ -27,7 +27,6 @@ from .types import PathLike
from .types import StringMap


# pylint: disable=protected-access
async def connect_unix_datagram(path: PathLike) -> anyio.SocketStream:
	"""
	Return an AnyIO socket connected to a Unix datagram socket