Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Python Code Style & Linting

permissions:
contents: read

on:
push:
branches: [ 'main' ]
paths:
- 'python/**'
pull_request:
branches: [ '*' ]
paths:
- 'python/**'

jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python

steps:
- uses: actions/checkout@v4

- name: Install Ruff
uses: astral-sh/ruff-action@v3

- name: Ruff Format
run: ruff format --check --config ./pyproject.toml .

- name: Ruff Lint
run: ruff check --config ./pyproject.toml .
5 changes: 0 additions & 5 deletions python/main.py

This file was deleted.

32 changes: 30 additions & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,35 @@
[project]
name = "python"
name = "valuecell"
version = "0.1.0"
description = "Add your description here"
description = "ValueCell is a community-driven, multi-agent platform for financial applications."
readme = "README.md"
requires-python = ">=3.12"
dependencies = []

[project.optional-dependencies]
dev = [
"ruff",
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=1.0.0",
]

[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py312"
force-exclude = true
exclude = [
"venv",
"build",
"dist",
"node_modules",
"site-packages",
"third_party",
]

[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
Loading