Skip to content

Commit

Permalink
[6.14.z] pre-commit cherry-pick and formatting changes (#1355)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 24.3.0 → 24.4.0](psf/black@24.3.0...24.4.0)
- [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.3.7](astral-sh/ruff-pre-commit@v0.3.5...v0.3.7)

* pre-commit formatting changes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
JacobCallahan and pre-commit-ci[bot] authored Apr 18, 2024
1 parent c1e13ed commit 66a5a05
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.4.0
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.1
rev: v0.3.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: debug-statements
1 change: 1 addition & 0 deletions airgun/browser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Tools to help getting selenium and widgetastic browser instance to run UI
tests.
"""

import base64
from contextlib import contextmanager
from datetime import datetime
Expand Down
1 change: 1 addition & 0 deletions airgun/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Exceptions raised by airgun"""

from selenium.common.exceptions import InvalidElementStateException
from widgetastic.exceptions import * # noqa: F403

Expand Down
1 change: 1 addition & 0 deletions airgun/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
pytest_plugins = ["airgun.fixtures"]
"""

import pytest

from airgun.session import Session
Expand Down
1 change: 1 addition & 0 deletions airgun/navigation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""AirGun's implementation of base navigation and navigate steps."""

from cached_property import cached_property
import navmazing
from selenium.common.exceptions import NoSuchElementException
Expand Down
1 change: 1 addition & 0 deletions airgun/session.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Session controller which manages UI session"""

from datetime import datetime
import logging
import os
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
http://sphinx-doc.org/config.html
"""

import os
import sys

Expand Down

0 comments on commit 66a5a05

Please sign in to comment.