techfreakworm commited on
Commit
891a019
·
unverified ·
1 Parent(s): f71b9d7

chore: add pyproject with ruff and pytest config

Browse files
Files changed (1) hide show
  1. pyproject.toml +21 -0
pyproject.toml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "ace-music-studio"
3
+ version = "0.1.0"
4
+ description = "Open-source full-song generation studio wrapping ACE-Step 1.5 XL"
5
+ authors = [{ name = "Mayank Gupta" }]
6
+ license = { text = "MIT" }
7
+ readme = "README.md"
8
+ requires-python = ">=3.11,<3.12"
9
+
10
+ [tool.ruff]
11
+ line-length = 110
12
+ target-version = "py311"
13
+
14
+ [tool.ruff.lint]
15
+ select = ["E", "F", "I", "B", "UP", "RUF"]
16
+ ignore = ["E501"]
17
+
18
+ [tool.pytest.ini_options]
19
+ addopts = "-m 'not gpu' --tb=short"
20
+ markers = ["gpu: requires a real GPU/MPS device; opt in with -m gpu"]
21
+ testpaths = ["tests"]