Merge 4d596c9eb2531a401f552943282fb8bf1ccb3ef0 into 3c786e353702e1de864ac3f6c408acc5d90f475f

This commit is contained in:
Mark Mayo 2023-10-08 03:35:05 +00:00 committed by GitHub
commit 1c88109263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 11 deletions

View File

@ -55,8 +55,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'pipreqs'
copyright = u'2015, Vadim Kravcenko'
project = 'pipreqs'
copyright = '2015, Vadim Kravcenko'
# The version info for the project you're documenting, acts as replacement
# for |version| and |release|, also used in various other places throughout
@ -209,8 +209,8 @@ latex_elements = {
# [howto/manual]).
latex_documents = [
('index', 'pipreqs.tex',
u'pipreqs Documentation',
u'Vadim Kravcenko', 'manual'),
'pipreqs Documentation',
'Vadim Kravcenko', 'manual'),
]
# The name of an image file (relative to this directory) to place at
@ -240,8 +240,8 @@ latex_documents = [
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'pipreqs',
u'pipreqs Documentation',
[u'Vadim Kravcenko'], 1)
'pipreqs Documentation',
['Vadim Kravcenko'], 1)
]
# If true, show URL addresses after external links.
@ -255,8 +255,8 @@ man_pages = [
# dir menu entry, description, category)
texinfo_documents = [
('index', 'pipreqs',
u'pipreqs Documentation',
u'Vadim Kravcenko',
'pipreqs Documentation',
'Vadim Kravcenko',
'pipreqs',
'One line description of project.',
'Miscellaneous'),

View File

@ -124,7 +124,7 @@ def get_all_imports(
except Exception as exc:
if ignore_errors:
traceback.print_exc(exc)
logging.warn("Failed on file: %s" % file_name)
logging.warning("Failed on file: %s" % file_name)
continue
else:
logging.error("Failed on file: %s" % file_name)
@ -220,7 +220,8 @@ def get_locally_installed_packages(encoding=None):
package = root.split(os.sep)[-1].split("-")
try:
top_level_modules = f.read().strip().split("\n")
except: # NOQA
except Exception: # NOQA
# TODO: What errors do we intend to suppress here?
continue

View File

@ -1,3 +1,3 @@
wheel==0.23.0
wheel==0.38.1
Yarg==0.1.9
docopt==0.6.2