-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
125 lines (111 loc) · 2.7 KB
/
pyproject.toml
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[build-system]
build-backend = 'flit_core.buildapi'
requires = ['flit_core>=3.4,<4']
[project]
authors = [
{name = 'Sebastiaan P. Huber', email = '[email protected]'}
]
classifiers = [
'Development Status :: 4 - Beta',
'Framework :: AiiDA',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering'
]
dependencies = [
'aiida-core~=2.6',
'azure-storage-blob',
'boto3'
]
dynamic = ['description', 'version']
keywords = ['aiida', 'workflows', 's3']
license = {file = 'LICENSE.txt'}
name = 'aiida-s3'
readme = 'README.md'
requires-python = '>=3.9'
[project.entry-points.'aiida.storage']
's3.psql_aws_s3' = 'aiida_s3.storage.psql_aws_s3:PsqlAwsS3Storage'
's3.psql_azure_blob' = 'aiida_s3.storage.psql_azure_blob:PsqlAzureBlobStorage'
's3.psql_s3' = 'aiida_s3.storage.psql_s3:PsqlS3Storage'
[project.optional-dependencies]
pre-commit = [
'mypy==1.8.0',
'pre-commit~=2.17',
'types-pyyaml'
]
tests = [
'moto[s3]==4.2.8',
'pgtest~=1.3,>=1.3.1',
'pytest~=7.2'
]
[project.scripts]
aiida-s3 = "aiida_s3.cli:cmd_root"
[project.urls]
changelog = 'https://github.com/sphuber/aiida-s3/blob/master/CHANGELOG.md'
documentation = 'https://github.com/sphuber/aiida-s3/blob/master/README.md'
source = 'https://github.com/sphuber/aiida-s3'
tracker = 'https://github.com/sphuber/aiida-s3/issues'
[tool.flit.module]
name = 'aiida_s3'
[tool.flit.sdist]
exclude = [
'.github/',
'.gitignore',
'.pre-commit-config.yaml',
'tests/'
]
[tool.flynt]
fail-on-change = true
line-length = 120
[tool.mypy]
disallow_untyped_calls = false
exclude = [
'^tests/'
]
strict = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
'azure.*',
'boto3.*',
'botocore.*',
'moto.*',
'pymatgen.*',
'pgtest.*',
'ruamel.*'
]
[tool.pytest.ini_options]
filterwarnings = [
'ignore:Creating AiiDA configuration folder.*:UserWarning'
]
markers = [
'skip_if_azure_mocked: Skip if the Azure client is mocked, which is not supporte yet'
]
[tool.ruff]
line-length = 120
[tool.ruff.format]
quote-style = 'single'
[tool.ruff.lint]
ignore = [
'D203', # Incompatible with D211 `no-blank-line-before-class`
'D213' # Incompatible with D212 `multi-line-summary-second-line`
]
select = [
'E', # pydocstyle
'W', # pydocstyle
'F', # pyflakes
'I', # isort
'N', # pep8-naming
'D', # pydocstyle
'PLC', # pylint-convention
'PLE', # pylint-error
'PLR', # pylint-refactor
'PLW', # pylint-warning
'RUF' # ruff
]