Skip to content
Snippets Groups Projects
Verified Commit 51f7bed8 authored by René Fritze's avatar René Fritze
Browse files

udpate pylicense to ignore .ci/shared submodule

parent b1164248
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,8 @@
# or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
# with "runtime exception" (http://www.dune-project.org/license.html)
# Authors:
# René Fritze (2018)
# René Fritze (2018)
# Tobias Leibner (2019)
# ~~~
name = 'This file is part of the dune-gdt project:'
......@@ -19,4 +20,4 @@ prefix = '//'
include_patterns = ('*.cc', '*.cxx', '*.hh', '*.hxx', '*cmake_config.h.in', '*headercheck.cpp.in', '*config.h.cmake',
'*version.hh.in', '*.pbh', '*.tpl')
exclude_patterns = ('*mathexpr.*', '*gtest-all.cc', '*.vcsetup*')
exclude_patterns = ('*mathexpr.*', '*gtest-all.cc', '*.vcsetup*', '*.ci/shared/*')
......@@ -6,7 +6,8 @@
# or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
# with "runtime exception" (http://www.dune-project.org/license.html)
# Authors:
# René Fritze (2018)
# René Fritze (2018)
# Tobias Leibner (2019)
# ~~~
name = 'This file is part of the dune-gdt project:'
......@@ -23,4 +24,4 @@ include_patterns = ('*.txt', '*.cmake', '*.py', '*.sh', '*.bash', '*.dgf', '*.ms
'*.gitignore', '*.mailmap', '*.gitattributes', '*gitignore-*', '*stamp-vc', '*dune.module',
'*Doxylocal', '*.clang-format', '*COPYING-CMAKE-SCRIPTS', '*README', '*LICENSE', '*mainpage',
'*switch-build_dir', '*dune-xt-common.pc.in', '*CMakeLists.txt')
exclude_patterns = ('*config.h.cmake', '*.vcsetup*', '*builder_definitions.cmake')
exclude_patterns = ('*config.h.cmake', '*.vcsetup*', '*builder_definitions.cmake', '*.ci/shared/*)
[pytest]
pep8maxlinelength = 120
pep8ignore = E221,E226,E241,E242
# ~~~
# This file is part of the dune-xt-common project:
# https://github.com/dune-community/dune-xt-common
# Copyright 2009-2018 dune-xt-common developers and contributors. All rights reserved.
# License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
# or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
# with "runtime exception" (http://www.dune-project.org/license.html)
# Authors:
# Rene Fritze (2018)
# ~~~
[aliases]
test = pytest
[pep8]
max-line-length = 120
ignore = E221,E226,E241,E242, W0105, N803, N806
# E221 multiple spaces before operator
# E226 missing whitespace around arithmetic operator [ignored by default]
# E241 multiple spaces after ':' [ignored by default]
# E242 tab after `,' [ignored by default]
# W0105 String statement has no effect (we use triple qoted strings as documentation in some files)
# N803 argument name should be lowercase (we use single capital letters everywhere for vectorarrays)
# N806 same for variables in function
[flake8]
max-line-length = 120
ignore = E221,E226,E241,E242, W0105, N803, N806
# The following exclude avoids wrong warnings for unused imports
exclude = __init__.py
[tool:pytest]
testpaths = test/
python_files = test/*.py
python_class = Test
pep8maxlinelength = 120
pep8ignore = E221,E226,E241,E242
addopts= -p no:warnings
[metadata]
# this is mandatory to lave license end up in .whl
license_file = LICENSE.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment