[CUSTOM PYTA OPTIONS]

# Make sure to register custom options tuple first in `python_ta/__init__.py`
# ===========================================================
# Default max amount of messages for reporter to display.
pyta-number-of-messages = 5

# Set whether to use the pycodestyle and type-checking checkers.
# Anything for a True/False, <yn> value should use in config file: y, yes, n, no
pyta-pep8 = no
pyta-type-check = no

# Set the output format. Available pyta formats are: ColorReporter,
# PlainReporter, HTMLReporter, StatReporter, PositionReporter
pyta-reporter = HTMLReporter

# Set the location of the template for HTMLreporter.
pyta-template-file = template.html

# Set the output file name for HTMLreporter.
pyta-output-file = pyta_report.html

[ELIF]

# Set maximum allowed if nesting.
max-nested-blocks = 3

[FORMAT]

# Set the maximum line length. The maximum line length in pep8 is 80 characters.
max-line-length = 80

[FORBIDDEN IMPORT]

# Set the whitelist of modules that are allowed to be imported
allowed-import-modules = doctest, unittest, hypothesis, pytest, python_ta, timeit, typing, __future__
extra-imports =
[FORBIDDEN IO]

# Comma-separated names of functions that are allowed to contain IO actions
allowed-io =

[MESSAGES CONTROL]

# Disable the message, report, category or checker with the given id(s).
disable=
    E0100, E0105, E0106, E0110, E0112, E0113, E0114, E0115, E0116, E0117, E0118,
    E0236, E0237, E0238, E0240, E0242, E0305, E0308, E0309, E0310, E0311, E0312, E0313,
    E0402,
    E0603, E0604,
    E0703,
    E1124, E1125, E1132, E1139,
    E1200, E1201, E1205, E1206,
    E1300, E1301, E1302, E1303, E1304,
    E1507,
    E1700, E1701,
    W0111, W0120, W0125, W0150,
    W0232, W0235, W0236,
    W0601, W0602, W0614, W0640,
    W1113, W1115,
    W1300, W1301, W1302, W1306, W1307,
    W1501, W1502, W1503, W1505, W1506, W1507, W1508, W1509, W1510,
    C0122,
    C0202, C0203, C0204, C0205,
    C0302, C0327, C0328,
    R0202, R0203, R0206,
    R0901, R0903, R0904, R0911,
    R1703, R1706, R1708, R1709, R1711, R1717, R1718, R1719, R1722,
    F0202,
    W0402, W0407,
    W1201, W1202,
    I0023,
    I1101,
    python3,
    similarities,
    spelling


# Enable single-letter identifiers
function-rgx = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
variable-rgx = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*)|([A-Z_][A-Z0-9_]*))$
const-rgx    = (([A-Z_][A-Z0-9_]*)|(__.*__))$
attr-rgx     = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
argument-rgx = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
class-rgx    = (([A-Z][a-zA-Z0-9]{0,30})|(_[A-Z][a-zA-Z0-9]*))$
method-rgx   = (([a-z][a-z0-9_]{0,30})|(_[a-z0-9_]*))$
class-attribute-rgx = ([A-Za-z_][A-Za-z0-9_]{0,30}|(__.*__))$
