|
| 1 | +[project] |
| 2 | +name = "vnpy_postgresql" |
| 3 | +dynamic = ["version"] |
| 4 | +description = "PostgreSQL database adapter for VeighNa quant trading framework." |
| 5 | +readme = "README.md" |
| 6 | +license = {text = "MIT"} |
| 7 | +authors = [{name = "Xiaoyou Chen", email = "xiaoyou.chen@mail.vnpy.com"}] |
| 8 | +classifiers = [ |
| 9 | + "Development Status :: 5 - Production/Stable", |
| 10 | + "License :: OSI Approved :: MIT License", |
| 11 | + "Operating System :: OS Independent", |
| 12 | + "Programming Language :: Python :: 3", |
| 13 | + "Programming Language :: Python :: 3.10", |
| 14 | + "Programming Language :: Python :: 3.11", |
| 15 | + "Programming Language :: Python :: 3.12", |
| 16 | + "Programming Language :: Python :: 3.13", |
| 17 | + "Topic :: Office/Business :: Financial :: Investment", |
| 18 | + "Programming Language :: Python :: Implementation :: CPython", |
| 19 | + "Natural Language :: Chinese (Simplified)", |
| 20 | + "Typing :: Typed" |
| 21 | +] |
| 22 | +requires-python = ">=3.10" |
| 23 | +dependencies = [ |
| 24 | + "peewee>=3.17.9", |
| 25 | +] |
| 26 | +keywords = ["quant", "quantitative", "investment", "trading", "algotrading"] |
| 27 | + |
| 28 | +[project.urls] |
| 29 | +"Homepage" = "https://www.vnpy.com" |
| 30 | +"Documentation" = "https://www.vnpy.com/docs" |
| 31 | +"Changes" = "https://github.com/vnpy/vnpy_postgresql/blob/master/CHANGELOG.md" |
| 32 | +"Source" = "https://github.com/vnpy/vnpy_postgresql/" |
| 33 | +"Forum" = "https://www.vnpy.com/forum" |
| 34 | + |
| 35 | +[build-system] |
| 36 | +requires = ["hatchling>=1.27.0"] |
| 37 | +build-backend = "hatchling.build" |
| 38 | + |
| 39 | +[tool.hatch.version] |
| 40 | +path = "vnpy_postgresql/__init__.py" |
| 41 | +pattern = "__version__ = ['\"](?P<version>[^'\"]+)['\"]" |
| 42 | + |
| 43 | +[tool.hatch.build.targets.wheel] |
| 44 | +packages = ["vnpy_postgresql"] |
| 45 | +include-package-data = true |
| 46 | + |
| 47 | +[tool.hatch.build.targets.sdist] |
| 48 | +include = ["vnpy_postgresql*"] |
| 49 | + |
| 50 | +[tool.ruff] |
| 51 | +target-version = "py310" |
| 52 | +output-format = "full" |
| 53 | + |
| 54 | +[tool.ruff.lint] |
| 55 | +select = [ |
| 56 | + "B", # flake8-bugbear |
| 57 | + "E", # pycodestyle error |
| 58 | + "F", # pyflakes |
| 59 | + "UP", # pyupgrade |
| 60 | + "W", # pycodestyle warning |
| 61 | +] |
| 62 | +ignore = ["E501"] |
| 63 | + |
| 64 | +[tool.mypy] |
| 65 | +python_version = "3.10" |
| 66 | +warn_return_any = true |
| 67 | +warn_unused_configs = true |
| 68 | +disallow_untyped_defs = true |
| 69 | +disallow_incomplete_defs = true |
| 70 | +check_untyped_defs = true |
| 71 | +disallow_untyped_decorators = true |
| 72 | +no_implicit_optional = true |
| 73 | +strict_optional = true |
| 74 | +warn_redundant_casts = true |
| 75 | +warn_unused_ignores = true |
| 76 | +warn_no_return = true |
| 77 | +ignore_missing_imports = true |
0 commit comments