forked from pig-dot-dev/pig-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (45 loc) · 934 Bytes
/
pyproject.toml
File metadata and controls
54 lines (45 loc) · 934 Bytes
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "pig-python"
version = "0.0.4"
authors = [
{ name = "Erik Dunteman", email = "erik@pig.dev" },
]
description = "pig"
readme = "README.md"
requires-python = ">=3.7"
dependencies = [
"requests>=2.0.0",
"click>=8.0.0",
"tabulate>=0.9.0",
"iso8601>=1.0.0",
]
[project.scripts]
pig = "pig.cli:main"
[tool.hatch.build]
packages = ["src"]
[tool.hatch.build.targets.wheel]
packages = ["src/pig"]
# .[dev]
[project.optional-dependencies]
dev = [
"ruff>=0.3.0",
"twine",
"build"
]
[tool.ruff]
include = ["src/pig/**/*.py", "tests/**/*.py"]
target-version = "py37"
# Enable rules
lint.select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"N", # pep8-naming
]
line-length = 160
lint.ignore = []
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"