Skip to content

Commit 713dded

Browse files
authored
Merge pull request #8 from mike-oakley/u/mike/renaming
feat: Rename package
2 parents f1f5e10 + 13e2dd5 commit 713dded

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+344
-135
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openapi-schema-pydantic",
2+
"name": "openapi-pydantic",
33
"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
44
"features": {
55
"ghcr.io/devcontainers-contrib/features/poetry:2": {
@@ -9,7 +9,7 @@
99
"containerEnv": {
1010
"POETRY_VIRTUALENVS_IN_PROJECT": "true"
1111
},
12-
"postCreateCommand": "poetry install",
12+
"postCreateCommand": "poetry install && pip install --upgrade tox",
1313
"customizations": {
1414
"vscode": {
1515
"extensions": [

.github/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- ignore-for-release
5+
categories:
6+
- title: Breaking 💥
7+
labels:
8+
- breaking
9+
- title: Added 🎉
10+
labels:
11+
- feature
12+
- title: Changed 🛠
13+
labels:
14+
- change
15+
- title: Fixed 🐛
16+
labels:
17+
- fix
18+
- bug
19+
- title: Dependencies 📦
20+
labels:
21+
- dependencies
File renamed without changes.

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
10+
jobs:
11+
tox:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: ['3.9', '3.10', '3.11']
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
python -m pip install tox tox-gh-actions
26+
- name: Install Poetry
27+
uses: snok/install-poetry@v1
28+
with:
29+
version: 1.5.0
30+
virtualenvs-create: true
31+
virtualenvs-in-project: true
32+
- name: Run tox test suite
33+
run: tox

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
/*.egg-info
1+
__pycache__
22
/.idea
3-
/.pytest_cache
43
/.mypy_cache
4+
/.pytest_cache
55
/.ruff_cache
6+
/.tox
7+
/.venv
8+
/*.egg-info
69
/build
710
/dist
8-
/.venv
9-
__pycache__

LICENSE

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Kuimono
3+
Copyright (c) 2023 mike-oakley
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -19,3 +19,22 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22+
23+
----
24+
25+
Forked from the original implementation by Kuimono, under MIT licence, from the repository at:
26+
https://github.com/kuimono/openapi-schema-pydantic
27+
28+
Copyright (c) 2020 Kuimono
29+
30+
Permission is hereby granted, free of charge, to any person obtaining a copy
31+
of this software and associated documentation files (the "Software"), to deal
32+
in the Software without restriction, including without limitation the rights
33+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
34+
copies of the Software, and to permit persons to whom the Software is
35+
furnished to do so, subject to the following conditions:
36+
37+
The above copyright notice and this permission notice shall be included in all
38+
copies or substantial portions of the Software.
39+
40+
License URL: https://github.com/kuimono/openapi-schema-pydantic/blob/master/LICENSE

README.md

Lines changed: 5 additions & 1 deletion
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)