GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — openapi-python-client/pyproject.toml at main · kgutwin/openapi-python-client

Expand file tree

/

pyproject.toml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
112 lines (101 loc) · 2.76 KB
/

pyproject.toml

Copy path

File metadata and controls

112 lines (101 loc) · 2.76 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[tool.poetry]
name = "openapi-python-client"
version = "0.15.2"
description = "Generate modern Python clients from OpenAPI"
repository = "https://github.com/triaxtec/openapi-python-client"
license = "MIT"
keywords=["OpenAPI", "Client", "Generator"]
authors = ["Dylan Anthony <[email protected]>"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Code Generators",
"Typing :: Typed",
]
readme = "README.md"
packages = [
{include = "openapi_python_client"},
]
include = ["CHANGELOG.md", "openapi_python_client/py.typed"]
[tool.poetry.dependencies]
python = "^3.8"
jinja2 = "^3.0.0"
typer = ">0.6, <0.10"
colorama = {version = "^0.4.3", markers = "sys_platform == 'win32'"}
shellingham = "^1.3.2"
pydantic = "^2.1.1"
attrs = ">=21.3.0"
python-dateutil = "^2.8.1"
httpx = ">=0.20.0,<0.26.0"
PyYAML = "^6.0"
ruff = "^0.1.2"
typing-extensions = "^4.8.0"
[tool.poetry.scripts]
openapi-python-client = "openapi_python_client.cli:app"
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-mock = "*"
mypy = "*"
taskipy = "*"
safety = "*"
pytest-cov = "*"
python-multipart = "*"
types-PyYAML = "^6.0.3"
types-certifi = "^2020.0.0"
types-python-dateutil = "^2.0.0"
[tool.taskipy.tasks]
check = """
ruff check --fix . \
&& ruff format .\
&& poetry export -f requirements.txt | poetry run safety check --bare --stdin\
&& mypy openapi_python_client\
&& TASKIPY=true pytest --cov openapi_python_client tests --cov-report=term-missing --basetemp=tests/tmp\
&& rm -r tests/tmp\
"""
regen = """
task regen_e2e\
&& task regen_integration\
"""
e2e = "pytest openapi_python_client end_to_end_tests/test_end_to_end.py"
re = """
task regen\
&& task e2e\
"""
regen_e2e = "python -m end_to_end_tests.regen_golden_record"
regen_integration = """
openapi-python-client update --url https://raw.githubusercontent.com/openapi-generators/openapi-test-server/main/openapi.json --config integration-tests-config.yaml\
&& mypy integration-tests --strict
"""
[tool.ruff]
select = ["E", "F", "I", "UP", "B", "PL", "RUF"]
line-length = 120
exclude = [
".git",
".mypy_cache",
".venv",
"openapi_python_client/templates/*",
"end_to_end_tests/*",
"tests/test_templates/*",
]
ignore = ["E501", "PLR0913"]
[tool.ruff.per-file-ignores]
"openapi_python_client/cli.py" = ["B008"]
[tool.coverage.run]
omit = ["openapi_python_client/templates/*"]
[tool.mypy]
plugins = ["pydantic.mypy"]
disallow_any_generics = true
disallow_untyped_defs = true
warn_redundant_casts = true
strict_equality = true
[[tool.mypy.overrides]]
module = [
"importlib_metadata",
"typer",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
junit_family = "xunit2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.