Skip to content

Commit

Permalink
ci: full pre-commit passing
Browse files Browse the repository at this point in the history
JacobCoffee committed Jun 25, 2023
1 parent 058a0c7 commit 0596b7c
Showing 35 changed files with 182 additions and 312 deletions.
28 changes: 12 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -31,12 +31,6 @@ repos:
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/python-poetry/poetry
rev: "1.5.0"
hooks:
- id: poetry-check
- id: poetry-lock
args: ["--no-update"]
- repo: https://github.com/provinzkraut/unasyncd
rev: "v0.4.0"
hooks:
@@ -84,20 +78,22 @@ repos:
exclude: "tools|docs"
additional_dependencies:
[
click,
hypothesis,
jsbeautifier,
opentelemetry-instrumentation-asgi,
opentelemetry-sdk,
pydantic,
pytest,
pytest-lazy-fixture,
pytest-mock,
pytest_docker,
python-dotenv,
pylint-pydantic,
jinja2,
rich,
click,
rich-click,
polyfactory,
pydantic_openapi_schema,
structlog,
pytest,
pytest-docker,
litestar,
types-click,
types-passlib,
types-click,
types-PyYAML,
uvicorn,
prometheus_client,
]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@

| Project | | Status |
|-----------|:----|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| CI/CD | | [![Latest Release](https://github.com/JacobCoffee/niapi/actions/workflows/publish.yaml/badge.svg?branch=main)](https://github.com/JacobCoffee/niapi/actions/workflows/publish.yaml) [![ci](https://github.com/JacobCoffee/niapi/actions/workflows/ci.yaml/badge.svg)](https://github.com/JacobCoffee/niapi/actions/workflows/ci.yaml) [![Documentation Building](https://github.com/JacobCoffee/niapi/actions/workflows/docs.yaml/badge.svg?branch=main)](https://github.com/JacobCoffee/niapi/actions/workflows/docs.yaml) |
| CI/CD | | [![Latest Release](https://github.com/JacobCoffee/niapi/actions/workflows/publish.yaml/badge.svg?branch=main)](https://github.com/JacobCoffee/niapi/actions/workflows/publish.yaml) [![ci](https://github.com/JacobCoffee/niapi/actions/workflows/ci.yaml/badge.svg)](https://github.com/JacobCoffee/niapi/actions/workflows/ci.yaml) [![Documentation Building](https://github.com/JacobCoffee/niapi/actions/workflows/docs.yaml/badge.svg?branch=main)](https://github.com/JacobCoffee/niapi/actions/workflows/docs.yaml) [![CodeQL](https://github.com/JacobCoffee/niapi/actions/workflows/github-code-scanning/codeql/badge.svg?branch=main)](https://github.com/JacobCoffee/niapi/actions/workflows/github-code-scanning/codeql) |
| Package | | [![PyPI - Version](https://img.shields.io/pypi/v/niapi)](https://badge.fury.io/py/niapi) ![PyPI - Support Python Versions](https://img.shields.io/pypi/pyversions/niapi) |
| Quality | | [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=jacobcoffee_niapi&metric=coverage)](https://sonarcloud.io/summary/new_code?id=jacobcoffee_niapi) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=jacobcoffee_niapi&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=jacobcoffee_niapi) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=jacobcoffee_niapi&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=jacobcoffee_niapi) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=jacobcoffee_niapi&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=jacobcoffee_niapi) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=jacobcoffee_niapi&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=jacobcoffee_niapi) [![Known Vulnerabilities](https://snyk.io/test/github/JacobCoffee/niapi/badge.svg)](https://snyk.io/test/github/JacobCoffee/niapi) |
| Community | | [![Twitter](https://img.shields.io/twitter/follow/_scriptr?style=social&logo=twitter)](https://twitter.com/_scriptr) |
3 changes: 1 addition & 2 deletions docs/PYPI_README.md
Original file line number Diff line number Diff line change
@@ -25,5 +25,4 @@

# `niapi` - Network Information API

[//]: # (TODO)

[//]: # "TODO"
16 changes: 9 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -54,10 +54,12 @@
html_show_sourcelink = False
html_title = "Network Information API"

html_theme_options = {
"use_page_nav": False,
"github_repo_name": "niapi",
"logo": {
"link": "https://github.com/JacobCoffee/niapi",
}
},
html_theme_options = (
{
"use_page_nav": False,
"github_repo_name": "niapi",
"logo": {
"link": "https://github.com/JacobCoffee/niapi",
},
},
)
2 changes: 1 addition & 1 deletion docs/images/SVG/Transparent/badge-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0596b7c

Please sign in to comment.