1
+ [build-system ]
2
+ requires = [ " setuptools" ,]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [project ]
6
+ name = " ckanext-xloader"
7
+ version = " 1.2.0"
8
+ description = " Express Loader - quickly load data into CKAN DataStore"
9
+ classifiers = [ " Development Status :: 5 - Production/Stable" ,
10
+ " License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)" ,
11
+ " Programming Language :: Python :: 3.7" ,
12
+ " Programming Language :: Python :: 3.8" ,
13
+ " Programming Language :: Python :: 3.9" ,
14
+ " Programming Language :: Python :: 3.10" ,]
15
+ keywords = [ " CKAN" , " extension" , " datastore" ,]
16
+ dependencies = [ " typing_extensions" ,]
17
+ authors = [
18
+ {name = " ThrawnCA" , email = " carl.antuar@smartservice.qld.gov.au" },
19
+ {name = " Jesse Vickery (JVickery-TBS)" , email = " jesse.vickery@tbs-sct.gc.ca" },
20
+ {name = " Adrià Mercader (amercader)" , email = " amercadero@gmail.com" },
21
+ {name = " David Read (davidread)" },
22
+ {name = " Brett Jones (kowh-ai)" , email = " datashades@linkdigital.com.au" },
23
+ {name = " Patricio Del Boca (pdelboca)" },
24
+ {name = " William Dutton (duttonw)" , email = " william.dutton@qld.gov.au" },
25
+ # {name = "", email = ""},
26
+ ]
27
+ maintainers = [
28
+ {name = " Adrià Mercader (amercader)" , email = " amercadero@gmail.com" },
29
+ {name = " William Dutton (duttonw)" , email = " william.dutton@qld.gov.au" },
30
+ {name = " Ian Ward (wardi)" },
31
+ {name = " Brett Jones (kowh-ai)" , email = " datashades@linkdigital.com.au" },
32
+ ]
33
+
34
+ [project .readme ]
35
+ file = " README.md"
36
+ content-type = " text/markdown"
37
+
38
+ [project .license ]
39
+ text = " AGPL"
40
+
41
+ [project .urls ]
42
+ Homepage = " https://github.com/ckan/ckanext-xloader"
43
+
44
+ [project .optional-dependencies ]
45
+ test = [ " pytest-factoryboy" ,]
46
+
47
+ [project .entry-points ."ckan .plugins" ]
48
+ xloader = " ckanext.xloader.plugin:xloaderPlugin"
49
+
50
+ [project .entry-points ."babel .extractors" ]
51
+ ckan = " ckan.lib.extract:extract_ckan"
52
+
53
+ [tool .setuptools .packages ]
54
+ find = {}
55
+
56
+ [tool .black ]
57
+ line-length = 79
58
+ preview = true
59
+
60
+ [tool .isort ]
61
+ known_ckan = " ckan"
62
+ known_ckanext = " ckanext"
63
+ known_self = " ckanext.xloader"
64
+ sections = " FUTURE,STDLIB,FIRSTPARTY,THIRDPARTY,CKAN,CKANEXT,SELF,LOCALFOLDER"
65
+
66
+ [tool .pytest .ini_options ]
67
+ addopts = " --ckan-ini test.ini"
68
+ filterwarnings = [
69
+ " ignore::sqlalchemy.exc.SADeprecationWarning" ,
70
+ " ignore::sqlalchemy.exc.SAWarning" ,
71
+ " ignore::DeprecationWarning" ,
72
+ ]
73
+
74
+ [tool .pyright ]
75
+ pythonVersion = " 3.7"
76
+ include = [" ckanext" ]
77
+ exclude = [
78
+ " **/test*" ,
79
+ " **/migration" ,
80
+ ]
81
+ strict = []
82
+
83
+ strictParameterNoneValue = true # type must be Optional if default value is None
84
+
85
+ # Check the meaning of rules here
86
+ # https://github.com/microsoft/pyright/blob/main/docs/configuration.md
87
+ reportFunctionMemberAccess = true # non-standard member accesses for functions
88
+ reportMissingImports = true
89
+ reportMissingModuleSource = true
90
+ reportMissingTypeStubs = false
91
+ reportImportCycles = true
92
+ reportUnusedImport = true
93
+ reportUnusedClass = true
94
+ reportUnusedFunction = true
95
+ reportUnusedVariable = true
96
+ reportDuplicateImport = true
97
+ reportOptionalSubscript = true
98
+ reportOptionalMemberAccess = true
99
+ reportOptionalCall = true
100
+ reportOptionalIterable = true
101
+ reportOptionalContextManager = true
102
+ reportOptionalOperand = true
103
+ reportTypedDictNotRequiredAccess = false # We are using Context in a way that conflicts with this check
104
+ reportConstantRedefinition = true
105
+ reportIncompatibleMethodOverride = true
106
+ reportIncompatibleVariableOverride = true
107
+ reportOverlappingOverload = true
108
+ reportUntypedFunctionDecorator = false
109
+ reportUnknownParameterType = true
110
+ reportUnknownArgumentType = false
111
+ reportUnknownLambdaType = false
112
+ reportUnknownMemberType = false
113
+ reportMissingTypeArgument = true
114
+ reportInvalidTypeVarUse = true
115
+ reportCallInDefaultInitializer = true
116
+ reportUnknownVariableType = true
117
+ reportUntypedBaseClass = true
118
+ reportUnnecessaryIsInstance = true
119
+ reportUnnecessaryCast = true
120
+ reportUnnecessaryComparison = true
121
+ reportAssertAlwaysTrue = true
122
+ reportSelfClsParameterName = true
123
+ reportUnusedCallResult = false # allow function calls for side-effect only (like logic.check_acces)
124
+ useLibraryCodeForTypes = true
125
+ reportGeneralTypeIssues = true
126
+ reportPropertyTypeMismatch = true
127
+ reportWildcardImportFromLibrary = true
128
+ reportUntypedClassDecorator = false # authenticator relies on repoze.who class-decorator
129
+ reportUntypedNamedTuple = true
130
+ reportPrivateUsage = true
131
+ reportPrivateImportUsage = true
132
+ reportInconsistentConstructor = true
133
+ reportMissingSuperCall = false
134
+ reportUninitializedInstanceVariable = true
135
+ reportInvalidStringEscapeSequence = true
136
+ reportMissingParameterType = true
137
+ reportImplicitStringConcatenation = false
138
+ reportUndefinedVariable = true
139
+ reportUnboundVariable = true
140
+ reportInvalidStubStatement = true
141
+ reportIncompleteStub = true
142
+ reportUnsupportedDunderAll = true
143
+ reportUnusedCoroutine = true
144
+ reportUnnecessaryTypeIgnoreComment = true
145
+ reportMatchNotExhaustive = true
0 commit comments