refactor: Clean up mutable defaults and add CI check (#27828) (#27841)

* refactor: Clean up mutable defaults and add CI check

(cherry picked from commit 772d4753e7)

Co-authored-by: Chillar Anand <chillar@avilpage.com>
This commit is contained in:
mergify[bot]
2021-10-07 09:57:35 +00:00
committed by GitHub
parent 4da5cb36e7
commit dd0cefbeb9
17 changed files with 62 additions and 24 deletions

View File

@@ -20,7 +20,10 @@ repos:
rev: 3.9.2
hooks:
- id: flake8
args: ['--config', '.github/helper/.flake8_strict']
additional_dependencies: [
'flake8-mutable',
]
args: ['--select=M511', '--config', '.github/helper/.flake8_strict']
exclude: ".*setup.py$"
- repo: https://github.com/timothycrosley/isort