Skip to content

Commit 8deda5f

Browse files
committed
Add configuration files.
1 parent 9119472 commit 8deda5f

File tree

3 files changed

+53
-4
lines changed

3 files changed

+53
-4
lines changed

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"editor.rulers": [
3+
79
4+
]
5+
}

pyproject.toml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
[tool.black]
2+
exclude = '''
3+
/(
4+
\.git
5+
| \.hg
6+
| \.mypy_cache
7+
| \.tox
8+
| \.venv
9+
| _build
10+
| buck-out
11+
| build
12+
| dist
13+
| env
14+
| venv
15+
)/
16+
'''
17+
include = '\.pyi?$'
18+
line-length = 79
19+
target-version = ['py36', 'py37', 'py38']
20+
21+
[tool.interrogate]
22+
exclude = ["setup.py", "docs", "nbconvert_config.py"]
23+
fail-under = 55
24+
ignore-init-method = true
25+
ignore-init-module = true
26+
ignore-module = false
27+
ignore-private = false
28+
ignore-semiprivate = false
29+
quiet = false
30+
verbose = 2
31+
32+
# https://docs.pytest.org/en/6.2.x/mark.html#registering-marks
33+
[tool.pytest.ini_options]
34+
markers = [
35+
"functions: test for general functions",
36+
"biology: tests for biology",
37+
"chemistry: tests for chemistry",
38+
"finance: tests for finance",
39+
"utils: utility tests",
40+
"engineering: tests for engineering",
41+
"ml: tests for machine learning",
42+
"spark_functions: tests for pyspark functions",
43+
"xarray: tests for xarray functions",
44+
"timeseries: tests for timeseries",
45+
"documentation: tests for documentation",
46+
"turtle: tests that take more than 5 seconds to execute",
47+
]

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,4 @@
22

33
from setuptools import setup, find_packages
44

5-
setup(name="pyjviz",
6-
version="0.0",
7-
packages=['pyjviz']
8-
)
5+
setup(name="pyjviz", version="0.0", packages=find_packages())

0 commit comments

Comments
 (0)