summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pyenchant_pylint_custom_dict.txt366
-rw-r--r--pylintrc8
2 files changed, 370 insertions, 4 deletions
diff --git a/.pyenchant_pylint_custom_dict.txt b/.pyenchant_pylint_custom_dict.txt
new file mode 100644
index 000000000..60a3a6f06
--- /dev/null
+++ b/.pyenchant_pylint_custom_dict.txt
@@ -0,0 +1,366 @@
+abc
+abcmeta
+abstractproperty
+analyse
+analysed
+analysing
+arg
+argparse
+args
+argumentdefaultshelpformatter
+argumentparser
+argumentsparser
+argv
+ascii
+assignattr
+assignname
+ast
+AST
+astroid
+async
+asynccontextmanager
+attr
+attrib
+autogenerated
+backend
+backticks
+BaseChecker
+basename
+behaviour
+bidi
+bla
+bom
+bool
+boolean
+boolop
+boundmethod
+builtins
+bw
+callables
+cardinality
+cartesian
+cd
+cfg
+changelog
+cheaders
+chroot
+chunker
+classdef
+classdiagram
+classmethod
+classmethod's
+classname
+classobj
+cls
+cmp
+codebase
+codec
+codecs
+col's
+conf
+config
+const
+Const
+contextlib
+contextmanager
+counterintuitive
+cpython
+CPython
+csv
+CVE
+cwd
+cyclomatic
+dataclass
+datetime
+debian
+deepcopy
+defframe
+defstmts
+deleter
+deque
+destructured
+destructuring
+diadefs
+diadefslib
+dictcomp
+dicts
+dir
+dirname
+docparams
+docstring
+docstrings
+dunder
+elif
+elif's
+elt
+emittable
+encodings
+endswith
+enum
+enums
+epilog
+epylint
+epytext
+erroring
+etree
+expr
+favour
+filepath
+filestream
+finalbody
+# TODO Remove when we are able to remove our own symbols
+fixme
+Flymake
+fmt
+formatter
+formfeed
+fromlineno
+fullname
+func
+functiøn
+functiondef
+functools
+genexpr
+getattr
+globals
+GPL
+graphname
+graphviz
+guido's
+gv
+hardcoded
+hashable
+hmac
+html
+idgeneratormixin
+ifexpr
+importedname
+importfrom
+importnode
+importschecker
+InferenceError
+ini
+INI
+init
+initializer
+inlinevar
+instantiation
+isdir
+isfile
+isinstance
+isort
+iter
+itered
+iterable
+iterables
+iteritems
+jn
+jpg
+jx
+jython
+# class is a reserved word
+klass
+kwarg
+kwargs
+kwonlyargs
+latin
+len
+lhs
+linecache
+lineno
+linenum
+lineset
+lineset's
+linesets
+linkers
+linter
+linux
+listcomp
+longstring
+lsp
+mapfile
+mapreduce
+maxsize
+maxsplit
+mcs
+mergeable
+mermaidjs
+metaclass
+metaclasses
+misdesign
+misdesigns
+mixin
+modname
+mro
+# Used so much that we need the abbreviation
+msg
+msgid
+msgids
+msgs
+msg-template
+mult
+multiline
+multiprocess
+multiset
+multisets
+myattr
+myfunction
+mymain
+mymethod
+mymodule
+mypy
+namedtuple
+namespace
+newstyle
+nl
+nodename
+nodeng
+noinspection
+nonlocal
+nonlocals
+num
+numpy
+ok
+onwards
+optdict
+optik
+optiondict
+optname
+optparse
+optvalue
+orelse
+os
+outputfile
+overridable
+parametrize
+parametrized
+params
+paren
+parens
+passthru
+png
+postprocessed
+postprocessing
+pragma
+pragma's
+pragmas
+pre
+preorder
+preprocess
+preprocessing
+proc
+py
+pyenchant
+pyfile
+pylint
+pylintdict
+pylintrc
+pylint's
+pypy
+pyreverse
+pytest
+qname
+rawcheckers
+rc
+rcfile
+readlines
+recognise
+recurse
+recurses
+redef
+redefinitions
+reportid
+rgx
+rheaders
+rhs
+roid
+rsplit
+rst
+rstrip
+rtype
+runtime
+se
+sep
+setcomp
+shortcircuiting
+shortstrings
+singledispatch
+spammy
+sqlalchemy
+src
+starargs
+staticmethod
+stderr
+stdin
+stdlib
+stdout
+stmt
+str
+stringified
+subclasses
+subdicts
+subdirectories
+subdirectory
+subgraphs
+sublists
+subparts
+subprocess
+subscriptable
+subscripted
+subtree
+supcls
+superclass
+symilar
+sys
+tempfile
+testcase
+testdata
+tmp
+tokencheckers
+tokeninfo
+tokenize
+tokenizer
+toml
+tomlkit
+toplevel
+tp
+truthness
+tryexcept
+txt
+typecheck
+typechecking
+typeddict
+typehint
+typeshed
+uid
+uml
+un
+unary
+unflattens
+unhandled
+unicode
+Uninferable
+uninferable
+unittest
+# prefix for string
+ur
+ureport
+ureports
+utf
+utils
+validator
+vararg
+varargs
+variadic
+variadics
+vcg
+vcg's
+vectorisation
+virtualized
+wc
+whitespace
+whitespaces
+xfails
+xml
+xyz
+yoda
diff --git a/pylintrc b/pylintrc
index 3253109f3..dbe919b47 100644
--- a/pylintrc
+++ b/pylintrc
@@ -392,24 +392,24 @@ missing-member-max-choices=1
# Spelling dictionary name. Available dictionaries: none. To make it working
# install python-enchant package.
-spelling-dict=
+spelling-dict=en_US
# List of comma separated words that should not be checked.
spelling-ignore-words=
# List of comma separated words that should be considered directives if they
# appear and the beginning of a comment and should not be checked.
-spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
+spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:,pragma:,# noinspection
# A path to a file that contains private dictionary; one word per line.
-spelling-private-dict-file=
+spelling-private-dict-file=.pyenchant_pylint_custom_dict.txt
# Tells whether to store unknown words to indicated private dictionary in
# --spelling-private-dict-file option instead of raising a message.
spelling-store-unknown-words=no
# Limits count of emitted suggestions for spelling mistakes.
-max-spelling-suggestions=4
+max-spelling-suggestions=2
[DESIGN]