Skip to content

Commit

Permalink
Correctly define extras in setup.cfg (#755)
Browse files Browse the repository at this point in the history
* Use `extras` to define extras in `setup.cfg`

* Go back to using `entry_points` in `setup.cfg`

Co-authored-by: Eric Brown <[email protected]>
  • Loading branch information
mkniewallner and ericwb authored Jan 25, 2022
1 parent 6270185 commit 25fde24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ classifier =
project_urls =
Release notes = https://github.com/PyCQA/bandit/releases

[options.extras_require]
[extras]
yaml =
PyYAML
toml =
toml

[options.entry_points]
[entry_points]
console_scripts =
bandit = bandit.cli.main:main
bandit-config-generator = bandit.cli.config_generator:main
Expand Down

0 comments on commit 25fde24

Please sign in to comment.