summaryrefslogtreecommitdiff
path: root/tests/primer/__main__.py
blob: 2603062371c322ab9fff1057bb74bf99959f567d (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/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/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()