Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump ruff from 0.2.2 to 0.3.0 #318

Merged
merged 2 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Example for GIOS."""

import asyncio
import logging

Expand Down
1 change: 1 addition & 0 deletions gios/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Python wrapper for getting air quality data from GIOS."""

import logging
from contextlib import suppress
from http import HTTPStatus
Expand Down
1 change: 1 addition & 0 deletions gios/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Constants for GIOS library."""

from typing import Final

ATTR_AQI: Final[str] = "AQI"
Expand Down
1 change: 1 addition & 0 deletions gios/model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Type definitions for GIOS."""

from dataclasses import dataclass


Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pytest-cov==4.1.0
pytest-error-for-skips==2.0.2
pytest-timeout==2.2.0
pytest==8.1.0
ruff==0.2.2
ruff==0.3.0
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Setup module for gios."""

from pathlib import Path

from setuptools import setup
Expand Down
1 change: 1 addition & 0 deletions tests/test_init.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for gios package."""

import json

import aiohttp
Expand Down