-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (54 loc) · 1.26 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[project]
name = 'pigwig'
version = '0.8.1'
authors = [{name='raylu'}]
description = 'a python 3.6+ WSGI framework'
requires-python = '>=3.6'
readme = 'README.md'
classifiers = [
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: WSGI',
]
[project.urls]
homepage = 'https://github.com/raylu/pigwig'
docs = 'https://pigwig.rtfd.org'
[build-system]
requires = ['setuptools>=69']
build-backend = 'setuptools.build_meta'
[tool.setuptools.packages.find]
include = ['pigwig']
exclude = ['pigwig.tests']
[tool.mypy]
python_version = '3.8'
exclude = ['setup.py', 'docs/conf.py']
disallow_untyped_defs = true
implicit_reexport = false
strict_equality = true
warn_unused_configs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = 'pigwig.tests.*'
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = 'blogwig'
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = 'eventlet'
ignore_missing_imports = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
'E', 'F', 'I',
'YTT', 'COM', 'T10', 'ISC', 'G', 'PIE', 'Q', 'RSE',
'PLC', 'PLE',
'RUF',
]
ignore = [
'E101' # mixed-spaces-and-tabs
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = 'single'
multiline-quotes = 'single'
[tool.ruff.lint.isort]
lines-after-imports = 1