Skip to content

Commit

Permalink
Manually correct line too long errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jun 26, 2023
1 parent 0af8338 commit 54795ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion setuptools/command/easy_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ def finalize_options(self): # noqa: C901 # is too complex (25) # FIXME
'dist_version': self.distribution.get_version(),
'dist_fullname': self.distribution.get_fullname(),
'py_version': py_version,
'py_version_short': f'{sys.version_info.major}.{sys.version_info.minor}',
'py_version_short': (
f'{sys.version_info.major}.{sys.version_info.minor}'
),
'py_version_nodot': f'{sys.version_info.major}{sys.version_info.minor}',
'sys_prefix': self.config_vars['prefix'],
'sys_exec_prefix': self.config_vars['exec_prefix'],
Expand Down
4 changes: 3 additions & 1 deletion setuptools/tests/test_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,9 @@ def __repr__(self):
id='empty_namespace_package',
file_defs={
'foobar': {
'__init__.py': "__import__('pkg_resources').declare_namespace(__name__)",
'__init__.py': (
"__import__('pkg_resources').declare_namespace(__name__)"
)
},
},
setup_kwargs=dict(
Expand Down

0 comments on commit 54795ce

Please sign in to comment.