Skip to content

Commit 5024fdd

Browse files
committed
initial commit: ARCADA scanner
0 parents  commit 5024fdd

61 files changed

Lines changed: 16505 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ARTE Environment Variables
2+
# Copy this file to .env and fill in your values.
3+
# Never commit .env to version control.
4+
5+
# Required: DeepSeek API key for AI-powered analysis
6+
DEEPSEEK_API_KEY=sk-...
7+
8+
# Optional: API key to protect the ARTE REST API (leave empty to disable auth)
9+
ARTE_API_KEY=
10+
11+
# Optional: Allowed CORS origins for the API server (comma-separated)
12+
CORS_ORIGINS=http://localhost:3000

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
lint:
11+
name: Ruff Lint
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: "3.11"
18+
- name: Install ruff
19+
run: pip install ruff
20+
- name: Run ruff
21+
run: ruff check .
22+
23+
test:
24+
name: Tests
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: actions/setup-python@v5
29+
with:
30+
python-version: "3.11"
31+
- name: Install dependencies
32+
run: |
33+
pip install -e ".[dev]"
34+
- name: Run tests
35+
run: pytest tests/ -v
36+
37+
require:
38+
needs: [lint, test]
39+
if: always()
40+
runs-on: ubuntu-latest
41+
steps:
42+
- name: Check required jobs
43+
run: |
44+
if [ "${{ needs.lint.result }}" != "success" ]; then
45+
exit 1
46+
fi
47+
if [ "${{ needs.test.result }}" != "success" ]; then
48+
exit 1
49+
fi

.gitignore

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Environment variables
2+
.env
3+
.env.local
4+
.env.*.local
5+
6+
# Python
7+
__pycache__/
8+
*.py[cod]
9+
*$py.class
10+
*.so
11+
.Python
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# Virtual environments
31+
.venv/
32+
venv/
33+
env/
34+
ENV/
35+
env.bak/
36+
venv.bak/
37+
38+
# IDE
39+
.vscode/
40+
.idea/
41+
*.swp
42+
*.swo
43+
*~
44+
45+
# OS
46+
.DS_Store
47+
.DS_Store?
48+
._*
49+
.Spotlight-V100
50+
.Trashes
51+
ehthumbs.db
52+
Thumbs.db
53+
54+
# Logs
55+
*.log
56+
logs/
57+
58+
# Test and coverage
59+
.coverage
60+
.coverage.*
61+
.cache
62+
nosetests.xml
63+
coverage.xml
64+
*.cover
65+
*.py,cover
66+
.hypothesis/
67+
.pytest_cache/
68+
.mypy_cache/
69+
.ruff_cache/
70+
71+
# Output
72+
reports/
73+
output/
74+
*.pdf
75+
*.html
76+
77+
# Temporary
78+
*.tmp
79+
*.temp
80+
.cache/

0 commit comments

Comments
 (0)