Unrud 6 лет назад
Родитель
Сommit
8b7a680a1e
1 измененных файлов с 3 добавлено и 8 удалено
  1. 3 8
      setup.cfg

+ 3 - 8
setup.cfg

@@ -9,12 +9,13 @@ addopts = --flake8 --isort --cov --cov-report=term --cov-report=xml -r s
 norecursedirs = dist .cache .git build Radicale.egg-info .eggs venv
 
 [isort]
-known_standard_library=posixpath
-known_third_party=gunicorn,passlib,pkg_resources,pytest,pytest_cov,vobject
+known_standard_library = posixpath
+known_third_party = gunicorn,passlib,pkg_resources,pytest,pytest_cov,vobject
 
 [coverage:run]
 branch = True
 source = radicale
+omit = tests/*,*/tests/*
 
 [coverage:report]
 # Regexes for lines to exclude from consideration
@@ -28,9 +29,3 @@ exclude_lines =
 
     # Don't complain if non-runnable code isn't run:
     if __name__ == .__main__.:
-
-omit =
-    tests/*
-    */tests/*
-
-ignore_errors = True