From 4aa4eef0e77e2d9afb74de751ebf457f585be034 Mon Sep 17 00:00:00 2001 From: Germain Chazot Date: Tue, 24 Jul 2018 21:22:07 +0100 Subject: [PATCH] Add --prepend-config to command line --- src/flake8/main/options.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/flake8/main/options.py b/src/flake8/main/options.py index c3ebb80..a0ec575 100644 --- a/src/flake8/main/options.py +++ b/src/flake8/main/options.py @@ -190,6 +190,14 @@ def register_default_options(option_manager): # Config file options + add_option( + '--prepend-config', action='append', + help='Provide extra config files to parse in addition to the files ' + 'found by Flake8 by default. These files are the first ones read ' + 'and so they take the lowest precedence when multiple files ' + 'provide the same option.', + ) + add_option( '--append-config', action='append', help='Provide extra config files to parse in addition to the files '