-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
41 lines (31 loc) · 1.15 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[project]
name = "beijing_fushengji"
version = "0.1.3"
description = "beijing fushengji (a simple simulation game) rewritten in Python"
readme = "README.md"
requires-python = ">=3.12"
dependencies = ["pyside6>=6.6.3.1"]
classifiers = ["Topic :: Games/Entertainment :: Turn Based Strategy"]
[project.urls]
Repository = "https://github.com/soda92/beijing_fushengji_rewrite.git"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["beijing_fushengji", "beijing_fushengji.*"]
exclude = ["tests"]
[tool.ruff.lint]
# 1. Enable flake8-bugbear (`B`) rules, in addition to the defaults.
select = ["E4", "E7", "E9", "F", "B"]
# 2. Avoid enforcing line-length violations (`E501`)
ignore = ["E501"]
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in selected subdirectories.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]
"ui/*.py" = ["F401"]
"tests/*.py" = ["E402", "F401"]
[dependency-groups]
dev = ["build>=1.2.2.post1", "pyinstaller>=6.10.0", "twine>=5.1.1"]