| # Copyright 2022 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # Config file for the isort python module. |
| # This is used to enforce import sorting standards. |
| # https://pycqa.github.io/isort/docs/configuration/options.html |
| # Be compatible with `black` since it also matches what we want. |
| force_sort_within_sections = true |
| # Ignore generated files. |
| extend_skip_glob = *_pb2.py |
| # Have to mark third_party/ libs as third party. |
| # And libraries we list in cros lint's PYTHONPATH. |
| # NB: Keep in sync with pylintrc. |
| # Allow importing multiple classes on a single line from these modules. |
| # https://google.github.io/styleguide/pyguide#s2.2-imports |
| chromite.api.gen.config.replication_config_pb2, |
| chromite.third_party.google.protobuf.struct_pb2, |
| chromite.third_party.infra_libs.buildbucket.proto, |