Skip to content

Commit

Permalink
Merge branch 'main' into pyright-initial-config
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Mar 11, 2024
2 parents c093674 + 5988f6d commit 660be4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg_resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3193,7 +3193,7 @@ def _find_adapter(registry, ob):
for t in types:
if t in registry:
return registry[t]
# _find_adapter would previously return None, and immediatly be called.
# _find_adapter would previously return None, and immediately be called.
# So we're raising a TypeError to keep backward compatibility if anyone depended on that behaviour.
raise TypeError(f"Could not find adapter for {registry} and {ob}")

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ def _restore_install_lib(self):

if __name__ == '__main__':
# allow setup.py to run from another directory
# TODO: Use a proper conditonal statement here
# TODO: Use a proper conditional statement here
here and os.chdir(here) # type: ignore[func-returns-value]
dist = setuptools.setup(**setup_params)

0 comments on commit 660be4d

Please sign in to comment.