This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
pyproject.toml
81 lines (71 loc) · 2.12 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[tool.poetry]
name = "piston-cli"
version = "1.5.0"
description = "A cli tool with an terminal editor to compile over 35 languages instantly using the piston api."
authors = ["Shivansh-007 <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "piston" },
]
# Links
homepage = "https://github.com/Shivansh-007/piston-cli"
repository = "https://github.com/Shivansh-007/piston-cli"
keywords = ["shell", "cli", "code-editor", "code-execution", "compile", "piston"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
]
[tool.poetry.dependencies]
python = "^3.9"
rich = "^10.1.0"
prompt-toolkit = "^3.0.18"
requests = "^2.25.1"
pygments = "^2.8.1"
more-itertools = "^8.7.0"
PyYAML = "^5.4.1"
click = "^8.0.1"
requests-cache = "^0.8.1"
appdirs = "^1.4.4"
coloredlogs = "^15.0.1"
[tool.poetry.dev-dependencies]
# always needed
pre-commit = "~=2.1"
taskipy = "^1.6.0"
# linting
black = "^21.7b0"
flake8 = "~=3.8"
flake8-annotations = "~=2.3"
flake8-bandit = "^2.1.2"
flake8-bugbear = "~=21.9"
flake8-docstrings = "~=1.5"
flake8-isort = "^4.0.0"
flake8-string-format = "~=0.3"
flake8-tidy-imports = "~=4.1"
flake8-todo = "~=0.7"
isort = "^5.9.2"
pep8-naming = "~=0.11"
# Documentation
mkdocs = ">=1.1.2,<2.0.0"
mkdocs-material = ">=7.1.9,<8.0.0"
mkdocs-markdownextradata-plugin = ">=0.1.7,<0.3.0"
[tool.black]
line-length = 110
target-version = ['py38']
include = '\.pyi?$'
[tool.poetry.scripts]
piston = "piston:main"
[tool.taskipy.tasks]
# Documentation
docs = { cmd = "mkdocs serve", help = "Run the docs on a local automatically reloading server" }
# Bot
start = { cmd = "python -m piston", help = "Run the CLI" }
# Linting
precommit = { cmd = "pre-commit install --install-hooks", help = "Installs the precommit hook" }
black = { cmd = "black --check .", help = "dry run of black" }
flake8 = { cmd = "python -m flake8", help = "Lints code with flake8" }
lint = { cmd = "pre-commit run --all-files", help = "Checks all files for CI errors" }
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"