-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.29 KB
/
pyproject.toml
File metadata and controls
66 lines (58 loc) · 1.29 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "dag-falsification"
version = "0.0.1"
authors = [
{name = "Elias Eulig", email = "elias.eulig@dkfz.de"},
]
description = "Code for the paper: Toward Falsifying Causal Graphs Using a Permutation-Based Test"
requires-python = ">=3.10"
readme = "README.md"
dependencies = [
"dowhy",
"pygraphviz",
"numpy==1.26.4",
"typing-extensions",
"xlrd>=2.0.1",
]
[project.optional-dependencies]
dev = [
"black",
"isort",
"poethepoet",
"flake8",
]
[tool.setuptools.packages.find]
include = ["falsifydags*"]
exclude = ["env*", "experiments*", "results*"]
namespaces = false
[tool.black]
exclude = '''
/(
env
| \.git
| build
)/
'''
target-version = ["py310"]
color = true
line-length = 88
[tool.isort]
skip = ["env", "build", ".git"]
profile = "black"
skip_gitignore = true
color_output = false
[tool.poe.tasks]
_black = 'black .'
_isort = 'isort .'
_black_check = 'black --check .'
_isort_check = 'isort --check .'
lint = "flake8 . --select=E9,F63,F7,F82 --show-source --statistics"
[tool.poe.tasks.format]
sequence = ['_black', '_isort']
ignore_fail = 'return_non_zero'
[tool.poe.tasks.format_check]
sequence = ['lint', '_black_check', '_isort_check']
ignore_fail = 'return_non_zero'