Skip to content

Commit

Permalink
pylint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pi-r-squared committed Jul 23, 2024
1 parent 2680ef7 commit a5392c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion pirrtools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ def get_base_package(module):
def find_instances(cls, module, tracker_type=AttrDict, filter_func=None):
"""Find all instances of a class in a module or submodules."""
if filter_func is None:
filter_func = lambda *_: True

def filter_func(*_):
return True

base_package = get_base_package(module)
tracker = tracker_type()
ModuleType = __types.ModuleType
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pirrtools"
version = "0.2.8" # Update this version number before you upload a new version to PyPI
version = "0.2.9" # Update this version number before you upload a new version to PyPI
description = "Collection of tools I use in my projects"
readme = "README.md"
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="pirrtools",
version="0.2.8", # Update this version number before releasing a new version
version="0.2.9", # Update this version number before releasing a new version
description="Collection of tools I use in my projects",
author="Sean Smith",
author_email="pirsquared.pirr@gmail.com",
Expand Down

0 comments on commit a5392c1

Please sign in to comment.