summaryrefslogtreecommitdiff
path: root/tests/functional/r/recursion/recursion_error_3159.py
blob: d905ad862a1529625b72c7a04e027bfae6030888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
"""Check that we do not crash with a recursion error

https://github.com/pylint-dev/pylint/issues/3159
"""
# pylint: disable=missing-docstring
from setuptools import Command, find_packages, setup


class AnyCommand(Command):
    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    @staticmethod
    def run():
        print("Do anything")


setup(
    name="Thing",
    version="1.0",
    packages=find_packages(),
    cmdclass={"anycommand": AnyCommand},
)