Skip to content

Commit c9dbb47

Browse files
Move a bunch of configuration to pyproject.toml
1 parent fbbc104 commit c9dbb47

File tree

5 files changed

+70
-21
lines changed

5 files changed

+70
-21
lines changed

.coveragerc

-11
This file was deleted.

.flake8

-3
This file was deleted.

.mypy.ini

-4
This file was deleted.

poetry.lock

+46-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+24
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,34 @@
11
[tool.poetry]
2+
package-mode = false
23
name = "universal-controller-script"
34
version = "1.2.1"
45
description = "A free and open source program that integrates with FL Studio to provide deep integration between hardware controllers and software."
56
authors = ["Maddy Guthridge <[email protected]>"]
67
license = "GPL v3"
78
readme = "README.md"
89

10+
[tool.mypy]
11+
files = ["src", "tests"]
12+
check_untyped_defs = true
13+
warn_return_any = true
14+
show_column_numbers = true
15+
16+
[tool.coverage.run]
17+
branch = true
18+
omit = ["src/fl_typing"]
19+
20+
[tool.coverage.report]
21+
exclude_also = [
22+
'if TYPE_CHECKING:',
23+
'return NotImplemented',
24+
'@overload',
25+
'raise AssertionError',
26+
'raise NotImplementedError',
27+
]
28+
29+
[tool.flake8]
30+
exclude = ['.git', '__pycache__', 'dist', 'site']
31+
932
[tool.poetry.dependencies]
1033
python = "^3.9.1"
1134
fl-studio-api-stubs = "^33.2.0"
@@ -20,6 +43,7 @@ mypy = "^1.13.0"
2043
pytest = "^8.3.4"
2144
autopep8 = "^2.3.1"
2245
jestspectation = "^1.4.3"
46+
flake8-pyproject = "^1.2.3"
2347

2448
[build-system]
2549
requires = ["poetry-core"]

0 commit comments

Comments
 (0)