Skip to content

Commit

Permalink
Add toml format
Browse files Browse the repository at this point in the history
  • Loading branch information
aandres3 committed Oct 30, 2024
1 parent 30ed8b1 commit 4c4d8ee
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 35 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ repos:
additional_dependencies:
- ".[toml]"
args: [--config=pyproject.toml]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
hooks:
- id: pretty-format-toml
files: "^.*.toml"
args:
- "--autofix"
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- Add toml format ([a8d573f](https://github.com/tradewelltech/protarrow/commit/a8d573f1d15c64490a3de2cb2c89bc762ef0b7c3) by aandres3).
- Add ignore for type check ([08f591f](https://github.com/tradewelltech/protarrow/commit/08f591f5625f0cf3bd43ba2f61cb3c0a1795c0e2) by aandres3).

## [v0.7.0](https://github.com/tradewelltech/protarrow/releases/tag/v0.7.0) - 2024-10-14
Expand Down
69 changes: 34 additions & 35 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,43 @@
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]

[tool.bandit]
skips = ["B101", "B311"]

[tool.black]
exclude = "venv/|tox/|protarrow_protos/.*"
target-version = ["py39"]

[tool.isort]
known_first_party = ["protarrow", "protarrow_protos"]
profile = "black"
skip = [".gitignore"]
src_paths = ["protarrow", "tests"]

[tool.poetry]
name = "protarrow"
version = "0.0.0"
description = "Convert from protobuf to arrow and back"
authors = ["Tradewell Tech <[email protected]>"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
description = "Convert from protobuf to arrow and back"
documentation = "https://protarrow.readthedocs.io/en/latest/"
keywords = ["apache-arrow", "protobuf", "data"]
license = "Apache-2.0"
maintainers = ["0x26res <[email protected]>"]
name = "protarrow"
packages = [
{ include = "protarrow" }
{include = "protarrow"}
]
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/tradewelltech/protarrow"
documentation = "https://protarrow.readthedocs.io/en/latest/"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["apache-arrow", "protobuf", "data"]
version = "0.0.0"

[tool.poetry.dependencies]
googleapis-common-protos = ">=1.53.0"
Expand All @@ -40,37 +56,20 @@ inflection = ">=0.5.1"
isort = ">=5.10.1"
mkdocs = ">=1.4.2"
mkdocs-material = ">=9.0.3"
mkdocstrings = { version = ">=0.21.2", extras = ["python"] }
mkdocstrings = {version = ">=0.21.2", extras = ["python"]}
pip-tools = ">=6.12.1"
pre-commit = ">=2.20.0"
pylint = ">=2.15.0"
pytest = ">=7.2.0"
pytest-benchmark = ">=4.0.0"
pytest-xdist = ">=3.1.0"

[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.black]
target-version = ["py39"]
exclude = "venv/|tox/|protarrow_protos/.*"

[tool.isort]
profile = "black"
src_paths = ["protarrow", "tests"]
known_first_party = ["protarrow", "protarrow_protos" ]
skip = [".gitignore"]

[tool.bandit]
skips = ["B101", "B311"]

[tool.poetry-dynamic-versioning]
enable = true

[tool.poetry-dynamic-versioning.substitution]
files = ["*/__init__.py"]
folders = [ {path = "protarrow"}]
folders = [{path = "protarrow"}]

[tool.ruff]
line-length = 88

0 comments on commit 4c4d8ee

Please sign in to comment.