-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
107 lines (84 loc) · 1.87 KB
/
setup.cfg
File metadata and controls
107 lines (84 loc) · 1.87 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
##########################
# Setup.py Configuration #
##########################
[metadata]
name = gqs
version = 0.0.5
[options]
python_requires = >=3.11
install_requires =
torch
class_resolver>=0.0.10 # for resolving classes; >=0.0.10 for as_string for click options
# torch_geometric
click==8.1.7 # for CLI
dill==0.3.7 # pickle_module
protobuf==4.25.1
requests==2.31.0
rdflib==7.0.0
pandas==2.1.3
torch_geometric==2.3
# Where is my code
packages = find:
package_dir =
= src
[options.packages.find]
where = src
[options.extras_require]
test =
flake8
mypy
pytest
types-requests
types-protobuf
types-setuptools
unittest-templates
[options.entry_points]
console_scripts =
gqs = gqs.cli:main
#########################
# Flake8 Configuration #
# (.flake8) #
#########################
[flake8]
ignore =
# line too long
E501
import-order-style = pycharm
application-import-names =
gqs
exclude =
query_pb2.py
########################
# mypy Configuration #
# (mypy.ini) #
########################
[mypy]
exclude = (query_pb2.*)
[mypy-pandas]
ignore_missing_imports = True
[mypy-pandas.testing]
ignore_missing_imports = True
[mypy-class_resolver]
ignore_missing_imports = True
[mypy-rdflib.plugins.stores.sparqlstore]
ignore_missing_imports = True
[mypy-torch_geometric.data]
ignore_missing_imports = True
[mypy-torch_scatter]
ignore_missing_imports = True
[mypy-dill]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-unittest_templates]
ignore_missing_imports = True
[mypy-gqs]
ignore_missing_imports = True
########################
# Pytest Configuration #
# (pytest.ini) #
########################
[tool:pytest]
addopts = --strict-markers
markers =
full_data: marks tests which require the full data (deselect with '-m "not full_data"')