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

[6.14.z] pre-commit cherry-pick and formatting changes #1355

Merged
merged 2 commits into from
Apr 18, 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
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