Skip to content

Conversation

@ValbuenaVC
Copy link
Contributor

@ValbuenaVC ValbuenaVC commented Jan 31, 2026

Description

Adds a config as ~/.pyrit_conf (~/.pyrit_conf_example included in repo) which can be loaded in by a new ConfigurationLoader to both make initializing pyrit less verbose and also parameterize pyrit the same way across the CLI and GUI. Configuration file support for the CLI tools enables more complex setups that were not possible or cumbersome previously. New features:

  • Initializers with arguments specified in the config file, which was not possible previously with the CLI
  • Configuration file with same fields as our initialize_pyrit_async method(s)
  • Auto-loading of config file if it exists
  • Config precedence (default config file < explicit config file < individual CLI args)

Tests and Documentation

Added as tests/unit/setup/test_configuration_loader.py.

@ValbuenaVC ValbuenaVC changed the title Pyrit Config [DRAFT] FEAT PyRIT Config Jan 31, 2026
@ValbuenaVC ValbuenaVC changed the title [DRAFT] FEAT PyRIT Config [DRAFT] FEAT: PyRIT Config Feb 5, 2026
@ValbuenaVC ValbuenaVC changed the title [DRAFT] FEAT: PyRIT Config FEAT: PyRIT Config Feb 5, 2026
@ValbuenaVC ValbuenaVC marked this pull request as ready for review February 5, 2026 19:54
Copy link
Contributor

@rlundeen2 rlundeen2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concerns are I want someone else to look at the docker setup :)

Everything else looks good!

@ValbuenaVC ValbuenaVC merged commit 4039c2d into Azure:main Feb 12, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants