Skip to content

Commit

Permalink
Ran black against code.
Browse files Browse the repository at this point in the history
  • Loading branch information
omaciel committed Mar 26, 2024
1 parent 447850b commit 0a7995c
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions fauxfactory/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
example, a CIDR of "/1" corresponds to `VALID_NETMASKS[1]`.
"""

# The above constant descriptions can be found by Sphinx and via help().
import datetime
import json
Expand Down
1 change: 1 addition & 0 deletions fauxfactory/factories/strings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Collection of string generating functions."""

import random
import string

Expand Down
1 change: 1 addition & 0 deletions fauxfactory/factories/systems.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Collection of computer systems generating functions."""

from copy import deepcopy

from fauxfactory.constants import FACTS_JSON
Expand Down
1 change: 1 addition & 0 deletions fauxfactory/helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Collection of helper methods and functions."""

import re
import unicodedata

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A setuptools-based script for installing FauxFactory."""

# setuptools is preferred over distutils.
import codecs
import os
Expand Down
1 change: 1 addition & 0 deletions tests/test_booleans.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for all boolean generators."""

import pytest

from fauxfactory import gen_boolean
Expand Down
1 change: 0 additions & 1 deletion tests/test_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
These tests are heavily just artificial tests to get 100% coverage.
"""


import os
import os.path
import fauxfactory.factories
Expand Down
1 change: 1 addition & 0 deletions tests/test_domain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for domain generator."""

from fauxfactory import gen_domain


Expand Down
1 change: 1 addition & 0 deletions tests/test_getattr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
These tests are heavily just artificial tests to get 100% coverage.
"""

import fauxfactory
import pytest

Expand Down
1 change: 1 addition & 0 deletions tests/test_strings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for all string generators."""

import string
import unicodedata
from random import randint
Expand Down
1 change: 1 addition & 0 deletions tests/test_system_helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for system facts helpers."""

import pytest

from fauxfactory.factories.systems import (
Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Unittests for all methods found in `utils.py`."""

import pytest

from fauxfactory.helpers import is_positive_int
Expand Down

0 comments on commit 0a7995c

Please sign in to comment.