Skip to content

Commit

Permalink
feat: update urls to new home (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Jun 9, 2024
1 parent 09c0735 commit 916b7cd
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 32 deletions.
45 changes: 21 additions & 24 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: "CHANGELOG.md"
exclude: "CHANGELOG.md|.copier-answers.yml|.all-contributorsrc"
default_stages: [commit]

ci:
Expand All @@ -9,37 +9,34 @@ ci:

repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.27.0
rev: v3.27.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: debug-statements
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-toml
- id: check-xml
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-poetry/poetry
rev: 1.8.3
hooks:
- id: poetry-check
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.2
rev: v3.1.0
hooks:
- id: prettier
args: ["--tab-width", "2"]
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.8
hooks:
- id: flake8
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Unifi Discovery

<p align="center">
<a href="https://github.com/bdraco/unifi-discovery/actions?query=workflow%3ACI">
<img src="https://img.shields.io/github/workflow/status/bdraco/unifi-discovery/CI/main?label=CI&logo=github&style=flat-square" alt="CI Status" >
<a href="https://github.com/uilibs/unifi-discovery/actions?query=workflow%3ACI">
<img src="https://img.shields.io/github/workflow/status/uilibs/unifi-discovery/CI/main?label=CI&logo=github&style=flat-square" alt="CI Status" >
</a>
<a href="https://unifi-discovery.readthedocs.io">
<img src="https://img.shields.io/readthedocs/unifi-discovery.svg?logo=read-the-docs&logoColor=fff&style=flat-square" alt="Documentation Status">
</a>
<a href="https://codecov.io/gh/bdraco/unifi-discovery">
<img src="https://img.shields.io/codecov/c/github/bdraco/unifi-discovery.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
<a href="https://codecov.io/gh/uilibs/unifi-discovery">
<img src="https://img.shields.io/codecov/c/github/uilibs/unifi-discovery.svg?logo=codecov&logoColor=fff&style=flat-square" alt="Test coverage percentage">
</a>
</p>
<p align="center">
Expand Down Expand Up @@ -52,7 +52,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://florisvdk.net"><img src="https://avatars.githubusercontent.com/u/16548176?v=4?s=80" width="80px;" alt=""/><br /><sub><b>Floris Van der krieken</b></sub></a><br /><a href="https://github.com/bdraco/unifi-discovery/commits?author=florisvdk" title="Code">💻</a> <a href="#example-florisvdk" title="Examples">💡</a></td>
<td align="center"><a href="https://florisvdk.net"><img src="https://avatars.githubusercontent.com/u/16548176?v=4?s=80" width="80px;" alt=""/><br /><sub><b>Floris Van der krieken</b></sub></a><br /><a href="https://github.com/uilibs/unifi-discovery/commits?author=florisvdk" title="Code">💻</a> <a href="#example-florisvdk" title="Examples">💡</a></td>
</tr>
</table>

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "Discover Unifi Devices"
authors = ["J. Nick Koston <[email protected]>"]
license = "Apache Software License 2.0"
readme = "README.md"
repository = "https://github.com/bdraco/unifi-discovery"
repository = "https://github.com/uilibs/unifi-discovery"
documentation = "https://unifi-discovery.readthedocs.io"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
Expand All @@ -19,7 +19,7 @@ packages = [
]

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/bdraco/unifi-discovery/issues"
"Bug Tracker" = "https://github.com/uilibs/unifi-discovery/issues"
"Changelog" = "https://unifi-discovery.readthedocs.io/changelog.html"

[tool.poetry.dependencies]
Expand Down
1 change: 0 additions & 1 deletion unifi_discovery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ def parse_ubnt_response(
# (just after reply signature and payload size).
# Take into account the payload length in offset 3
for field_type, field_data in iter_fields(payload[4:], payload[3]):

if field_type not in field_parsers_packet_specific:
continue

Expand Down

0 comments on commit 916b7cd

Please sign in to comment.