Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Fix --config handling and allow --append-config #86

Closed
wants to merge 0 commits into from

Conversation

thejcannon
Copy link
Contributor

From my testing, passing --config ./file.toml wasn't being handled correctly.
Debugging it, it looks like parse_preliminary_options in flake8 strips out these options, so by the time we get to it in parse_configuration_and_cli they are nowhere to be found in argv.

@thejcannon
Copy link
Contributor Author

NOTE: I'm not sure if this is supposed to work, but flakehell plugins --append-config ./base1.toml doesn't seem to pick up on [tool.flakehell.plugins] settings in ./base.toml

@thejcannon
Copy link
Contributor Author

Commit a813cc7 now handles flakehell plugins --append-config ./base1.toml 👍

thejcannon added a commit to thejcannon/flakehell that referenced this pull request Jul 7, 2020
@thejcannon
Copy link
Contributor Author

@orsinium this should be ready for review.

@thejcannon
Copy link
Contributor Author

I'm not exactly sure what happened to this PR, or why it's closed. I'll look into it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
1 participant