Skip to content

Commit

Permalink
Bump ruff from 0.2.2 to 0.3.0 (#426)
Browse files Browse the repository at this point in the history
* Bump ruff from 0.2.2 to 0.3.0

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.2.2 to 0.3.0.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.2.2...v0.3.0)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Run hooks

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Bach <[email protected]>
  • Loading branch information
dependabot[bot] and bachya authored Mar 1, 2024
1 parent 6a34226 commit 438c5cc
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 20 deletions.
1 change: 1 addition & 0 deletions examples/test_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Run an example script to quickly test."""

import asyncio
import logging

Expand Down
38 changes: 19 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pytest-cov = "^4.0.0"
pyupgrade = "^3.1.0"
pyyaml = "^6.0.1"
requests = ">=2.31.0"
ruff = ">=0.0.261,<0.2.3"
ruff = ">=0.0.261,<0.3.1"
typing-extensions = "^4.8.0"
vulture = "^2.6"
yamllint = "^1.28.0"
Expand Down
1 change: 1 addition & 0 deletions pytile/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Define module-level imports."""

from .api import async_login # noqa
1 change: 1 addition & 0 deletions pytile/api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define an object to work directly with the API."""

from __future__ import annotations

import asyncio
Expand Down
1 change: 1 addition & 0 deletions pytile/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define package constants."""

import logging

LOGGER = logging.getLogger(__package__)
1 change: 1 addition & 0 deletions pytile/tile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define a Tile object."""

from __future__ import annotations

from collections.abc import Awaitable, Callable
Expand Down
1 change: 1 addition & 0 deletions tests/common.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define common test utilities."""

import os

TILE_CLIENT_UUID = "2cc56adc-b96a-4293-9b94-eda716e0aa17"
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define fixtures, constants, etc. available for all tests."""

import json
import re
from collections.abc import Generator
Expand Down
1 change: 1 addition & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define tests for the client object."""

import re
from time import time
from typing import Any
Expand Down
1 change: 1 addition & 0 deletions tests/test_tile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Define tests for the client object."""

import logging
from datetime import datetime
from typing import Any
Expand Down

0 comments on commit 438c5cc

Please sign in to comment.