浏览代码

flake8/mypy: Ignore /build folder

Unrud 3 年之前
父节点
当前提交
cd6ebaae1a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      setup.cfg

+ 2 - 0
setup.cfg

@@ -30,10 +30,12 @@ known_third_party = defusedxml,passlib,pkg_resources,pytest,vobject
 # Only enable default tests (https://github.com/PyCQA/flake8/issues/790#issuecomment-812823398)
 select = E,F,W,C90,DOES-NOT-EXIST
 ignore = E121,E123,E126,E226,E24,E704,W503,W504,DOES-NOT-EXIST
+extend-exclude = ./build/
 
 [mypy]
 ignore_missing_imports = True
 show_error_codes = True
+exclude = ^build/
 
 [coverage:run]
 branch = True