404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.129.67.244: ~ $
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt

import operator
import re
import sys
from pathlib import Path

SYS_VERS_STR = (
    "%d%d%d" % sys.version_info[:3]  # pylint: disable=consider-using-f-string
)
TITLE_UNDERLINES = ["", "=", "-", "."]
UPDATE_OPTION = "--update-functional-output"
UPDATE_FILE = Path("pylint-functional-test-update")
# Common sub-expressions.
_MESSAGE = {"msg": r"[a-z][a-z\-]+"}
# Matches a #,
#  - followed by a comparison operator and a Python version (optional),
#  - followed by a line number with a +/- (optional),
#  - followed by a list of bracketed message symbols.
# Used to extract expected messages from testdata files.
_EXPECTED_RE = re.compile(
    r"\s*#\s*(?:(?P<line>[+-]?[0-9]+):)?"  # pylint: disable=consider-using-f-string
    r"(?:(?P<op>[><=]+) *(?P<version>[0-9.]+):)?"
    r"\s*\[(?P<msgs>%(msg)s(?:,\s*%(msg)s)*)]" % _MESSAGE
)

_OPERATORS = {">": operator.gt, "<": operator.lt, ">=": operator.ge, "<=": operator.le}

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
_primer Folder 0755
functional Folder 0755
__init__.py File 1.28 KB 0644
_run.py File 1.51 KB 0644
checker_test_case.py File 4.27 KB 0644
configuration_test.py File 5.89 KB 0644
constants.py File 1.12 KB 0644
decorator.py File 1.22 KB 0644
functional_test_file.py File 635 B 0644
get_test_info.py File 2.08 KB 0644
global_test_linter.py File 685 B 0644
lint_module_test.py File 12.5 KB 0644
output_line.py File 5.76 KB 0644
pyreverse.py File 4.1 KB 0644
reporter_for_tests.py File 2.25 KB 0644
testing_pylintrc File 198 B 0644
tokenize_str.py File 447 B 0644
unittest_linter.py File 2.73 KB 0644
utils.py File 3.06 KB 0644