summaryrefslogtreecommitdiff
path: root/tests/primer/__main__.py
blob: 1e99ca23468e45932679370e06f5fc9fea32a5e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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

from __future__ import annotations

from pathlib import Path

from pylint.testutils._primer.primer import Primer

PRIMER_DIRECTORY = Path(__file__).parent.parent / ".pylint_primer_tests/"
PACKAGES_TO_PRIME_PATH = Path(__file__).parent / "packages_to_prime.json"


if __name__ == "__main__":
    primer = Primer(PRIMER_DIRECTORY, PACKAGES_TO_PRIME_PATH)
    primer.run()