Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 5fe85a4

Browse files
committed
Remove non-compiler files
1 parent 3d2212c commit 5fe85a4

File tree

3 files changed

+2
-192
lines changed

3 files changed

+2
-192
lines changed

asv.conf.json

Lines changed: 0 additions & 157 deletions
This file was deleted.

docs/index.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
11
Home
22
====
33

4-
Welcome to betterproto2's documentation!
5-
6-
betterproto is a protobuf compiler and interpreter. It improves the experience of using
7-
Protobuf and gRPC in Python, by generating readable, understandable, and idiomatic
8-
Python code, using modern language features.
9-
10-
11-
## Features
12-
13-
- Generated messages are both binary & JSON serializable
14-
- Messages use relevant python types, e.g. ``Enum``, ``datetime`` and ``timedelta`` objects
15-
- ``async``/``await`` support for gRPC Clients and Servers
16-
- Generates modern, readable, idiomatic python code
4+
Welcome to betterproto2-compiler's documentation!

pyproject.toml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ packages = [
1212
]
1313

1414
[tool.poetry.dependencies]
15-
python = "^3.8"
15+
python = "^3.10"
1616
# The Ruff version is pinned. To update it, also update it in .pre-commit-config.yaml
1717
ruff = "~0.7.4"
1818
grpclib = "^0.4.1"
@@ -21,13 +21,9 @@ python-dateutil = "^2.8"
2121
typing-extensions = "^4.7.1"
2222

2323
[tool.poetry.group.dev.dependencies]
24-
asv = "^0.4.2"
25-
bpython = "^0.19"
2624
jinja2 = ">=3.0.3"
2725
mypy = "^1.11.2"
2826
pre-commit = "^2.17.0"
29-
grpcio-tools = "^1.54.2"
30-
tox = "^4.0.0"
3127
mkdocs-material = {version = "^9.5.49", python = ">=3.10"}
3228
mkdocstrings = {version = "^0.27.0", python = ">=3.10", extras = ["python"]}
3329

@@ -46,7 +42,6 @@ tomlkit = ">=0.7.0"
4642
protoc-gen-python_betterproto = "betterproto.plugin:main"
4743

4844
[tool.poetry.extras]
49-
compiler = ["ruff", "jinja2"]
5045
rust-codec = ["betterproto-rust-codec"]
5146

5247
[tool.ruff]
@@ -78,10 +73,6 @@ combine-as-imports = true
7873
script = "tests.generate:main"
7974
help = "Generate test cases (do this once before running test)"
8075

81-
[tool.poe.tasks.test]
82-
cmd = "pytest"
83-
help = "Run tests"
84-
8576
[tool.poe.tasks.types]
8677
cmd = "mypy src --ignore-missing-imports"
8778
help = "Check types with mypy"
@@ -114,18 +105,6 @@ help = "Check that the imports are sorted"
114105
cmd = "sphinx-build docs docs/build"
115106
help = "Build the sphinx docs"
116107

117-
[tool.poe.tasks.bench]
118-
shell = "asv run master^! && asv run HEAD^! && asv compare master HEAD"
119-
help = "Benchmark current commit vs. master branch"
120-
121-
[tool.poe.tasks.clean]
122-
cmd = """
123-
rm -rf .asv .coverage .mypy_cache .pytest_cache
124-
dist betterproto.egg-info **/__pycache__
125-
testsoutput_*
126-
"""
127-
help = "Clean out generated files from the workspace"
128-
129108
[tool.poe.tasks.generate_lib]
130109
cmd = """
131110
protoc

0 commit comments

Comments
 (0)