File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -307,8 +307,8 @@ min-public-methods=2
307307[EXCEPTIONS]
308308
309309# Exceptions that will emit a warning when caught.
310- overgeneral-exceptions =BaseException,
311- Exception
310+ overgeneral-exceptions =builtins. BaseException,
311+ builtins. Exception
312312
313313
314314[FORMAT]
Original file line number Diff line number Diff line change 66import argparse
77import os
88import sys
9+ from importlib .metadata import version
910from sys import argv
1011
11- import pkg_resources
1212from rich import print as rprint
1313from rich .table import Table
1414
3030
3131# this might not be installed at the time of building
3232try :
33- VERSION = pkg_resources . require ("linode-cli" )[ 0 ]. version
33+ VERSION = version ("linode-cli" )
3434except :
3535 VERSION = "building"
3636
Original file line number Diff line number Diff line change @@ -100,6 +100,6 @@ def bake_version(v):
100100 ]
101101 },
102102 data_files = get_baked_files (),
103- python_requires = ">=3.7 " ,
103+ python_requires = ">=3.8 " ,
104104 include_package_data = True ,
105105)
You can’t perform that action at this time.
0 commit comments