Skip to content

Commit

Permalink
Add darklock_os_whitelisted_directories and bump darklock version
Browse files Browse the repository at this point in the history
  • Loading branch information
w4ffl35 committed May 9, 2024
1 parent bb89f58 commit 5f2e842
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="defendatron",
version="0.1.6",
version="0.1.7",
author="Capsize LLC",
description="",
long_description=open("README.md", "r", encoding="utf-8").read(),
Expand All @@ -16,7 +16,7 @@
python_requires=">=3.10.0",
install_requires=[
"nullscream==0.1.3",
"darklock==0.1.3",
"darklock==0.1.4",
"shadowlogger==0.1.1",
],
dependency_links=[
Expand Down
2 changes: 2 additions & 0 deletions src/defendatron/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def activate(
darklock_os_whitelisted_filenames: list = None,
darklock_os_whitelisted_imports: list = None,
darklock_os_blacklisted_filenames: list = None,
darklock_os_whitelisted_directories: list = None,

activate_shadowlogger: bool = False,
activate_darklock: bool = False,
Expand All @@ -45,6 +46,7 @@ def activate(
whitelisted_filenames=darklock_os_whitelisted_filenames,
whitelisted_imports=darklock_os_whitelisted_imports,
blacklisted_filenames=darklock_os_blacklisted_filenames,
whitelisted_directories=darklock_os_whitelisted_directories,
)

if activate_nullscream:
Expand Down

0 comments on commit 5f2e842

Please sign in to comment.