Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# This file is part of the lib3to6 project 

2# https://github.com/mbarkhau/lib3to6 

3# 

4# Copyright (c) 2019-2021 Manuel Barkhau (mbarkhau@gmail.com) - MIT License 

5# SPDX-License-Identifier: MIT 

6import ast 

7 

8from . import common 

9 

10 

11class CheckerBase: 

12 

13 # no info -> always apply 

14 version_info: common.VersionInfo = common.VersionInfo() 

15 

16 def __call__(self, ctx: common.BuildContext, tree: ast.Module) -> None: 

17 raise NotImplementedError()