File tree Expand file tree Collapse file tree 5 files changed +265
-7
lines changed
Expand file tree Collapse file tree 5 files changed +265
-7
lines changed Original file line number Diff line number Diff line change 1+ name : Python Code Style & Linting
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ push :
8+ branches : [ 'main' ]
9+ paths :
10+ - ' python/**'
11+ pull_request :
12+ branches : [ '*' ]
13+ paths :
14+ - ' python/**'
15+
16+ jobs :
17+ lint :
18+ runs-on : ubuntu-latest
19+ defaults :
20+ run :
21+ working-directory : ./python
22+
23+ steps :
24+ - uses : actions/checkout@v4
25+
26+ - name : Install Ruff
27+ uses : astral-sh/ruff-action@v3
28+
29+ - name : Ruff Format
30+ run : ruff format --check --config ./pyproject.toml .
31+
32+ - name : Ruff Lint
33+ run : ruff check --config ./pyproject.toml .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[project ]
2- name = " python "
2+ name = " valuecell "
33version = " 0.1.0"
4- description = " Add your description here "
4+ description = " ValueCell is a community-driven, multi-agent platform for financial applications. "
55readme = " README.md"
66requires-python = " >=3.12"
77dependencies = []
8+
9+ [project .optional-dependencies ]
10+ dev = [
11+ " ruff" ,
12+ " pytest>=7.4.0" ,
13+ " pytest-cov>=4.1.0" ,
14+ " pytest-asyncio>=1.0.0" ,
15+ ]
16+
17+ [tool .ruff ]
18+ line-length = 88
19+ indent-width = 4
20+ target-version = " py312"
21+ force-exclude = true
22+ exclude = [
23+ " venv" ,
24+ " build" ,
25+ " dist" ,
26+ " node_modules" ,
27+ " site-packages" ,
28+ " third_party" ,
29+ ]
30+
31+ [tool .ruff .format ]
32+ quote-style = " double"
33+ indent-style = " space"
34+ skip-magic-trailing-comma = false
35+ line-ending = " auto"
You can’t perform that action at this time.
0 commit comments