Skip to content

Commit

Permalink
update pre-commits
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstew committed Feb 29, 2024
1 parent 8f6b9ee commit 7447efd
Show file tree
Hide file tree
Showing 14 changed files with 16 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 @@ -6,7 +6,7 @@
# https://github.com/pre-commit/pre-commit-hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: check-yaml
- id: check-json
Expand All @@ -27,7 +27,7 @@ repos:
# - id: no-commit-to-branch
# args: [--branch, main]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
rev: v1.35.1
hooks:
- id: yamllint
args: [-c=.yamllint.yaml]
Expand All @@ -36,6 +36,6 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.2.0
hooks:
- id: black
1 change: 1 addition & 0 deletions examples/baseline_by_relevance.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import datetime
import os

Expand Down
1 change: 1 addition & 0 deletions examples/computers_delete_by_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import os

import besapi
Expand Down
1 change: 1 addition & 0 deletions examples/export_bes_by_relevance.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import time

import besapi
Expand Down
1 change: 1 addition & 0 deletions examples/export_bes_by_relevance_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import asyncio
import configparser
import os
Expand Down
1 change: 1 addition & 0 deletions examples/export_bes_by_relevance_threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import concurrent.futures
import time

Expand Down
1 change: 1 addition & 0 deletions examples/fixlet_add_mime_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Need to url escape site name https://bigfix:52311/api/sites
"""

import lxml.etree

import besapi
Expand Down
1 change: 1 addition & 0 deletions examples/mailbox_files_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import os

import besapi
Expand Down
1 change: 1 addition & 0 deletions examples/mailbox_files_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import besapi


Expand Down
1 change: 1 addition & 0 deletions examples/parameters_secure_sourced_fixlet_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import besapi

# reference: https://software.bigfix.com/download/bes/100/util/BES10.0.7.52.xsd
Expand Down
1 change: 1 addition & 0 deletions examples/parameters_sourced_fixlet_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import besapi

# reference: https://software.bigfix.com/download/bes/100/util/BES10.0.7.52.xsd
Expand Down
1 change: 1 addition & 0 deletions examples/session_relevance_from_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
requires `besapi`, install with command `pip install besapi`
"""

import besapi


Expand Down
1 change: 1 addition & 0 deletions examples/wake_on_lan.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- https://localhost:52311/rd-proxy?RequestUrl=cgi-bin/bfenterprise/BESMirrorRequest.exe/-textreport
- Gather Download Request: https://localhost:52311/rd-proxy?RequestUrl=bfmirror/downloads/_ACTION_ID_/_DOWNLOAD_ID_
"""

import besapi


Expand Down
1 change: 1 addition & 0 deletions src/bescli/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
bescli provides a command line interface to interact with besapi
"""

# https://stackoverflow.com/questions/279237/import-a-module-from-a-relative-path/4397291

from . import bescli

0 comments on commit 7447efd

Please sign in to comment.