Skip to content

Add disable/enable error code opt to config_types - #9537

Closed
amikrop wants to merge 1 commit into
python:masterfrom
amikrop:patch-1
Closed

amikrop wants to merge 1 commit into
python:masterfrom
amikrop:patch-1

Conversation

@amikrop

@amikrop amikrop commented Oct 5, 2020 •

Copy link
Copy Markdown
Contributor

The disable_error_code and enable_error_code config file options were being cast to list, as they were not
included in the config_types dict in config_parser.py.

@hauntsaninja hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Lgtm, thanks for reporting and fixing! If you wanted to add a test, test-data/unit/check-flags.test would be the place to do it

@amikrop

amikrop commented Oct 5, 2020 •

Copy link
Copy Markdown
Contributor Author

Tried this #9538 without being sure of the exact format of the test case fixtures, though.

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Closing in favour of #9538 then :-)

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.

2 participants