forked from google/mesop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
46 lines (42 loc) · 1023 Bytes
/
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
42
43
44
45
46
[tool.ruff]
# In addition to the standard set of exclusions, omit example_index.py because
# it's imports are used for side effects
# Skip error examples since there's intentionally incorrect Python code.
extend-exclude = [
"mesop/example_index.py",
"mesop/examples/error*",
"generator/fixtures/*",
"mesop/editor/testdata/**", # formatting messes up diff.
]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = [
"E501", # ignore line-length (e.g. long docstring)
"SIM117", # ignore combine with statements (it leads to harder to read code)
]
line-length = 80
indent-width = 2
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mesop"
version = "0.0.1"
authors = [{ name = "Will Chen" }]
description = "Python UI framework"
[project.license]
file = "LICENSE"
[tool.setuptools]
packages = ["mesop"]