1
1
[tool .poetry ]
2
2
name = " xpypact"
3
- version = " 0.12.3 "
3
+ version = " 0.12.4 "
4
4
description = " \" Python workflow framework for FISPACT.\" "
5
5
authors = [
" dvp <[email protected] >" ]
6
6
license = " MIT"
@@ -26,9 +26,7 @@ classifiers = [
26
26
" Intended Audience :: Developers" ,
27
27
" Intended Audience :: Science/Research" ,
28
28
" Operating System :: OS Independent" ,
29
- " Programming Language :: Python" ,
30
29
" Programming Language :: Python :: 3" ,
31
- " Programming Language :: Python :: 3 :: Only" ,
32
30
" Programming Language :: Python :: 3.10" ,
33
31
" Programming Language :: Python :: 3.11" ,
34
32
" Programming Language :: Python :: 3.12" ,
@@ -54,10 +52,11 @@ duckdb = ">=1.0.0"
54
52
mckit-nuclides = " >=0.3.2"
55
53
multipledispatch = " >=0.6.0"
56
54
numpy = " >=2.0"
57
- polars = {version = " >=1.12.0" , extras = [" all" ]}
55
+ polars = { version = " >=1.12.0" , extras = [" all" ] }
58
56
pyarrow = " >=18.0.0"
59
57
rich = " >=13.7.0"
60
- msgspec = {git = " https://github.com/jcrist/msgspec.git" , rev = " main" } # TODO: switch back to PyPI on update to Python 3.13
58
+ msgspec = " >=0.19.0"
59
+ poetry = " ^1.8.5"
61
60
62
61
[tool .poetry .group .dev .dependencies ]
63
62
Pygments = " >=2.10.0"
@@ -152,7 +151,7 @@ addopts = '''
152
151
--failed-first
153
152
--xdoctest
154
153
'''
155
- doctest_optionflags = " ELLIPSIS NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ALLOW_UNICODE ALLOW_BYTES"
154
+ doctest_optionflags = " ELLIPSIS NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ALLOW_UNICODE ALLOW_BYTES NUMBER "
156
155
testpaths = [" tests" , " src" ]
157
156
markers = [
158
157
" slow: marks tests as slow (deselect with '-m \" not slow\" ')" ,
@@ -304,11 +303,23 @@ src = ["src", "tests"]
304
303
305
304
exclude = [
306
305
" *.egg-info" ,
306
+ " .direnv" ,
307
307
" .cache" ,
308
+ " .eggs" ,
309
+ " .git" ,
310
+ " .git-rewrite" ,
311
+ " .mypy_cache" ,
312
+ " .nox" ,
313
+ " .ruff_cache" ,
314
+ " .venv" ,
308
315
" __pycache__" ,
316
+ " _build" ,
309
317
" adhoc" ,
318
+ " build" ,
319
+ " dist" ,
310
320
" docs/source/conf.py" ,
311
321
" notebooks" ,
322
+ " venv" ,
312
323
" wrk" ,
313
324
]
314
325
@@ -317,24 +328,27 @@ exclude = [
317
328
# or run 'ruff linter' to see a brief list
318
329
select = [
319
330
" A" , # flake8-builtins
320
- " ANN" , # flake8-annotations
321
331
" AIR" , # Airflow https://airflow.apache.org/docs/apache-airflow/stable/index.html
332
+ " ANN" , # flake8-annotations
322
333
" ARG" , # flake8-unused-arguments
323
334
" ASYNC" , # flake8-async
324
335
" B" , # flake8-bugbear
325
336
" BLE" , # flake8-blind-except
326
337
" C4" , # flake8-comprehensions
327
338
" C90" , # mccabe
328
339
" COM" , # flake8-commas
340
+ # "CPY", # flake8-copyright
329
341
" D" , # pydocstyle
330
342
" DJ" , # flake8-django
343
+ " DOC" , # pydoclint
331
344
" DTZ" , # flake8-datetimez
332
345
" E" , # pycodestyle
333
346
" EM" , # flake8-errmsg
334
347
" ERA" , # eradicate
335
348
" EXE" , # flake8-executable
336
349
" F" , # Pyflakes
337
350
" FA" , # flake8-future-annotations
351
+ # "FAST", # FastAPI
338
352
" FBT" , # flake8-boolean-trap https://adamj.eu/tech/2021/07/10/python-type-hints-how-to-avoid-the-boolean-trap
339
353
" FIX" , # flake8-fixme
340
354
" FLY" , # flynt
@@ -381,8 +395,6 @@ select = [
381
395
ignore = [
382
396
" ANN001" , # ANN001 Missing type annotation for function argument: doesn't allow to use functools dispatching
383
397
# "ANN002", # ANN002 Missing type annotation for *drop_items: ... as above
384
- " ANN101" , # ANN101 Missing type annotation for self in method
385
- " ANN102" , # ANN102 Missing type annotation for cls in classmethod
386
398
# "ANN201", # Missing return type annotation for public function `mesh2com`
387
399
" ANN202" , # ANN202 Missing return type annotation for protected function: ... dispatching
388
400
# "ANN204", # ANN204 Missing return type annotation for special method
@@ -483,7 +495,7 @@ ignore = [
483
495
484
496
485
497
[tool .ruff .lint .per-file-ignores ]
486
- "__init__.py" = [" E402" ]
498
+ "**/ __init__.py" = [" E402" ]
487
499
"src/xpypact/fluxes.py" = [" F811" ]
488
500
"benchmarks/*" = [" S101" ]
489
501
"noxfile.py" = [" ANN" ]
0 commit comments