-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathsetup.cfg
50 lines (46 loc) · 1.39 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Note that Black does not support setup.cfg
[tool:pytest]
addopts =
-ra
# Skip benchmarks, enable with --benchmark-enable or --benchmark-only
# https://pytest-benchmark.readthedocs.io/en/stable/usage.html#commandline-options
--benchmark-skip
# Documentation scripts
--ignore=doc/_static/image/doc_reference_frames.py
# Examples
--ignore=examples/*/*.py
# Scripts for creating dummy data
--ignore=kikuchipy/data/bruker_h5ebsd/create_bruker_h5ebsd_file.py
--ignore=kikuchipy/data/edax_binary/create_edax_binary_file.py
--ignore=kikuchipy/data/emsoft_ebsd/create_dummy_emsoft_ebsd_file.py
--ignore=kikuchipy/data/oxford_h5ebsd/create_oxford_h5ebsd_file.py
--ignore=kikuchipy/data/oxford_binary/create_oxford_binary_file.py
--ignore-glob=kikuchipy/data/emsoft_ebsd_master_pattern/*.py
doctest_optionflags = NORMALIZE_WHITESPACE
filterwarnings =
# From Setuptools
ignore:Deprecated call to \`pkg_resources:DeprecationWarning
ignore:pkg_resources is deprecated as an API:DeprecationWarning
# From Traits
ignore:module \'sre_:DeprecationWarning
[coverage:run]
source = kikuchipy
omit =
setup.py
kikuchipy/release.py
relative_files = True
[coverage:report]
precision = 2
[manifix]
known_excludes =
.*
.*/**
**/*.nbi
**/*.nbc
**/*.pyc
.git/**
benchmarks/**
doc/**
examples/**
htmlcov/**
tutorials/**