| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- [build-system]
- requires = ["setuptools>=61.0", "wheel"]
- build-backend = "setuptools.build_meta"
- [project]
- name = "dataops-platform"
- version = "1.0.0"
- description = "DataOps Platform - 数据运营平台"
- authors = [
- {name = "DataOps Team", email = "team@dataops.com"}
- ]
- readme = "README.md"
- requires-python = ">=3.8"
- classifiers = [
- "Development Status :: 4 - Beta",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: MIT License",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Programming Language :: Python :: 3.11",
- "Programming Language :: Python :: 3.12",
- ]
- dependencies = [
- "Flask>=2.3.0",
- "Flask-SQLAlchemy>=3.1.0",
- "Flask-CORS>=4.0.0",
- "SQLAlchemy>=2.0.0",
- "psycopg2-binary>=2.9.0",
- "python-dotenv>=1.0.0",
- "requests>=2.31.0",
- "pandas>=2.1.0",
- "numpy>=1.25.0",
- ]
- [project.optional-dependencies]
- dev = [
- "pytest>=7.4.0",
- "ruff>=0.8.0",
- "pyright>=1.1.390",
- ]
- [tool.setuptools.packages.find]
- where = ["."]
- include = ["app*"]
- [tool.ruff]
- target-version = "py38"
- line-length = 88
- [tool.ruff.lint]
- select = [
- "E", # pycodestyle errors
- "W", # pycodestyle warnings
- "F", # Pyflakes
- "I", # isort
- "B", # flake8-bugbear
- "C4", # flake8-comprehensions
- "UP", # pyupgrade
- "SIM", # flake8-simplify
- ]
- ignore = [
- "E501", # line too long (handled by formatter)
- "B008", # do not perform function calls in argument defaults
- ]
- [tool.ruff.lint.isort]
- known-first-party = ["app"]
- [tool.ruff.format]
- quote-style = "double"
- indent-style = "space"
- skip-magic-trailing-comma = false
- line-ending = "auto"
- [tool.pyright]
- pythonVersion = "3.8"
- typeCheckingMode = "basic"
- reportMissingImports = true
- reportMissingTypeStubs = false
- reportUnusedImport = true
- reportUnusedVariable = true
- [tool.pytest.ini_options]
- testpaths = ["tests"]
- python_files = ["test_*.py", "*_test.py"]
- python_classes = ["Test*"]
- python_functions = ["test_*"]
|