Skip to content

Commit

Permalink
Add argument of dynamic_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
zz1874 committed Aug 10, 2023
1 parent 3f0f9b3 commit 20d9627
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fawltydeps/cli_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ def populate_parser_paths_options(parser: argparse._ActionsContainer) -> None:
" separate temporary virtualenv to discover the imports they expose."
),
)
parser.add_argument(
"--dynamic-metadata",
dest="dynamic_metadata",
action="store_true",
help=(
"Allow FawltyDeps to find declared dependencies that are"
" dynamically computed during the build by either setuptools or the"
" plugin installed."
),
)
parser.add_argument(
"--custom-mapping-file",
nargs="+",
Expand Down
1 change: 1 addition & 0 deletions fawltydeps/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class Settings(BaseSettings): # type: ignore
ignore_unused: Set[str] = set()
deps_parser_choice: Optional[ParserChoice] = None
install_deps: bool = False
dynamic_metadata: bool = False
verbosity: int = 0
custom_mapping_file: Set[Path] = set()

Expand Down

0 comments on commit 20d9627

Please sign in to comment.