Skip to content

Commit

Permalink
chore(vendor): Adjust vendor for gallia linters
Browse files Browse the repository at this point in the history
  • Loading branch information
rumpelsepp committed Nov 19, 2024
1 parent febd5c4 commit 0de1dfe
Show file tree
Hide file tree
Showing 69 changed files with 636 additions and 1,596 deletions.
9 changes: 9 additions & 0 deletions LICENSES/MIT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) <year> <copyright holders>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
659 changes: 349 additions & 310 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ platformdirs = ">=2.6,<5.0"
psutil = ">=5.9.4,<7.0.0"
httpx = ">=0.26,<0.28"
more-itertools = "^10.3.0"
pydantic-argparse = { path = "vendor/pydantic-argparse", develop = true }

[tool.poetry.group.dev.dependencies]
Sphinx = ">=5.2,<8.0"
Expand Down
4 changes: 4 additions & 0 deletions vendor/pydantic-argparse/.github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Hayden Richards
#
# SPDX-License-Identifier: MIT

name: Linting

on:
Expand Down
4 changes: 4 additions & 0 deletions vendor/pydantic-argparse/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Hayden Richards
#
# SPDX-License-Identifier: MIT

name: Tests

on:
Expand Down
4 changes: 4 additions & 0 deletions vendor/pydantic-argparse/.github/workflows/typing.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Hayden Richards
#
# SPDX-License-Identifier: MIT

name: Typing

on:
Expand Down
4 changes: 4 additions & 0 deletions vendor/pydantic-argparse/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Hayden Richards
#
# SPDX-License-Identifier: MIT

# IDE settings / virtual environment
.venv/
.vscode/
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

<div align="center">
<a href="https://pydantic-argparse.supimdos.com">
<img src="https://raw.githubusercontent.com/SupImDos/pydantic-argparse/master/docs/assets/images/logo.svg" width="50%">
Expand Down
3 changes: 3 additions & 0 deletions vendor/pydantic-argparse/docs/CNAME.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
3 changes: 3 additions & 0 deletions vendor/pydantic-argparse/docs/assets/images/logo.svg.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/background.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Overview
Before delving into the documentation, examples and code reference, it is first
necessary to explore and understand why you may want to use this package.
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/examples/commands.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

### Define Model
```python title="commands.py"
--8<-- "examples/commands.py"
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/examples/simple.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

### Define Model
```python title="simple.py"
--8<-- "examples/simple.py"
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

<div align="center">
<a href="https://pydantic-argparse.supimdos.com">
<img src="assets/images/logo.svg" width="50%">
Expand Down
3 changes: 3 additions & 0 deletions vendor/pydantic-argparse/docs/reference/reference.py.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: Hayden Richards

SPDX-License-Identifier: MIT
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/showcase.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Feature Showcase
This showcase demonstrates how `pydantic-argparse` can be useful, by
highlighting some of its features and showing how they can be utilised.
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/usage/argument_parser.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Overview
The interface for `pydantic-argparse` is the custom typed
[`ArgumentParser`][pydantic_argparse.argparse.parser.ArgumentParser] class,
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/usage/arguments/choices.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Overview
`pydantic-argparse` provides functionality for choice arguments. A choice is a
command-line argument that allows a restricted set of values. For example:
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/usage/arguments/commands.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Overview
`pydantic-argparse` provides functionality for commands. A command is a
positional command-line argument that can be followed by its own specific
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/usage/arguments/flags.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Overview
`pydantic-argparse` provides functionality for flag arguments. A flag is a
command-line argument that has no following value. For example: `--flag` or
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/usage/arguments/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Overview
At the core of `pydantic-argparse` is the `pydantic` *model*, in which
arguments are declared with `pydantic` *fields*. This combination of the
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/usage/arguments/regular.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Overview
`pydantic-argparse` provides functionality for regular arguments. A regular
argument is a command-line argument that is followed by *exactly* one value.
Expand Down
6 changes: 6 additions & 0 deletions vendor/pydantic-argparse/docs/usage/arguments/variadic.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: Hayden Richards
SPDX-License-Identifier: MIT
-->

## Overview
`pydantic-argparse` provides functionality for variadic arguments. A variadic
argument is a command-line argument that is followed by one *or more* values.
Expand Down
4 changes: 4 additions & 0 deletions vendor/pydantic-argparse/examples/commands.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Hayden Richards
#
# SPDX-License-Identifier: MIT

"""Commands Example."""


Expand Down
4 changes: 4 additions & 0 deletions vendor/pydantic-argparse/examples/simple.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Hayden Richards
#
# SPDX-License-Identifier: MIT

"""Simple Example."""


Expand Down
4 changes: 4 additions & 0 deletions vendor/pydantic-argparse/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Hayden Richards
#
# SPDX-License-Identifier: MIT

# Site
site_name: Pydantic Argparse
site_description: Typed Argument Parsing with Pydantic
Expand Down
Loading

0 comments on commit 0de1dfe

Please sign in to comment.