Skip to content

Commit

Permalink
Merge pull request #102 from lumapps/dependabot/pip/black-24.3.0
Browse files Browse the repository at this point in the history
chore(deps-dev): bump black from 23.1.0 to 24.3.0
  • Loading branch information
noirbee authored Mar 22, 2024
2 parents cd7dcee + 9840b4c commit 51bc872
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 28 deletions.
1 change: 1 addition & 0 deletions dep_check/checker.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Check that dependencies follow a set of rules.
"""

import re
from typing import List, Optional

Expand Down
1 change: 1 addition & 0 deletions dep_check/infra/file_system.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Implementation of configuration reader and writer
"""

import inspect
from pathlib import Path
from typing import Iterator
Expand Down
1 change: 1 addition & 0 deletions dep_check/infra/io.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Implementations of IDependenciesPrinter
"""

from dataclasses import asdict, dataclass
from enum import Enum
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions dep_check/infra/std_lib_filter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Implementations of IStdLibFilter
"""

from ordered_set import OrderedSet

from dep_check.models import Dependencies
Expand Down
1 change: 1 addition & 0 deletions dep_check/use_cases/app_configuration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Application global configuration.
"""

from dataclasses import dataclass

from .interfaces import IStdLibFilter
Expand Down
1 change: 1 addition & 0 deletions dep_check/use_cases/build.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Build rules more restrictive rules from existing source use case.
"""

from abc import ABC, abstractmethod
from typing import Dict, Iterator

Expand Down
1 change: 0 additions & 1 deletion dep_check/use_cases/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Check all given source files dependencies use case.
"""


import re
from abc import ABC, abstractmethod
from dataclasses import dataclass
Expand Down
1 change: 1 addition & 0 deletions dep_check/use_cases/draw_graph.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Draws a graph of the dependencies between modules
"""

from abc import ABC, abstractmethod
from collections import defaultdict
from typing import Dict, Iterator, Optional
Expand Down
1 change: 1 addition & 0 deletions dep_check/use_cases/interfaces.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Common use cases interfaces.
"""

import enum
from abc import ABC, abstractmethod
from dataclasses import dataclass, field
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ coverage

pytest
pytest-runner
black
black==24.3.0
pylint
mypy
pyenchant
Expand Down
50 changes: 24 additions & 26 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,29 @@ attrs==22.2.0 \
--hash=sha256:29e95c7f6778868dbd49170f98f8818f78f3dc5e0e37c0b1f474e3561b240836 \
--hash=sha256:c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99
# via pytest
black==23.1.0 \
--hash=sha256:0052dba51dec07ed029ed61b18183942043e00008ec65d5028814afaab9a22fd \
--hash=sha256:0680d4380db3719ebcfb2613f34e86c8e6d15ffeabcf8ec59355c5e7b85bb555 \
--hash=sha256:121ca7f10b4a01fd99951234abdbd97728e1240be89fde18480ffac16503d481 \
--hash=sha256:162e37d49e93bd6eb6f1afc3e17a3d23a823042530c37c3c42eeeaf026f38468 \
--hash=sha256:2a951cc83ab535d248c89f300eccbd625e80ab880fbcfb5ac8afb5f01a258ac9 \
--hash=sha256:2bf649fda611c8550ca9d7592b69f0637218c2369b7744694c5e4902873b2f3a \
--hash=sha256:382998821f58e5c8238d3166c492139573325287820963d2f7de4d518bd76958 \
--hash=sha256:49f7b39e30f326a34b5c9a4213213a6b221d7ae9d58ec70df1c4a307cf2a1580 \
--hash=sha256:57c18c5165c1dbe291d5306e53fb3988122890e57bd9b3dcb75f967f13411a26 \
--hash=sha256:7a0f701d314cfa0896b9001df70a530eb2472babb76086344e688829efd97d32 \
--hash=sha256:8178318cb74f98bc571eef19068f6ab5613b3e59d4f47771582f04e175570ed8 \
--hash=sha256:8b70eb40a78dfac24842458476135f9b99ab952dd3f2dab738c1881a9b38b753 \
--hash=sha256:9880d7d419bb7e709b37e28deb5e68a49227713b623c72b2b931028ea65f619b \
--hash=sha256:9afd3f493666a0cd8f8df9a0200c6359ac53940cbde049dcb1a7eb6ee2dd7074 \
--hash=sha256:a29650759a6a0944e7cca036674655c2f0f63806ddecc45ed40b7b8aa314b651 \
--hash=sha256:a436e7881d33acaf2536c46a454bb964a50eff59b21b51c6ccf5a40601fbef24 \
--hash=sha256:a59db0a2094d2259c554676403fa2fac3473ccf1354c1c63eccf7ae65aac8ab6 \
--hash=sha256:a8471939da5e824b891b25751955be52ee7f8a30a916d570a5ba8e0f2eb2ecad \
--hash=sha256:b0bd97bea8903f5a2ba7219257a44e3f1f9d00073d6cc1add68f0beec69692ac \
--hash=sha256:b6a92a41ee34b883b359998f0c8e6eb8e99803aa8bf3123bf2b2e6fec505a221 \
--hash=sha256:bb460c8561c8c1bec7824ecbc3ce085eb50005883a6203dcfb0122e95797ee06 \
--hash=sha256:bfffba28dc52a58f04492181392ee380e95262af14ee01d4bc7bb1b1c6ca8d27 \
--hash=sha256:c1c476bc7b7d021321e7d93dc2cbd78ce103b84d5a4cf97ed535fbc0d6660648 \
--hash=sha256:c91dfc2c2a4e50df0026f88d2215e166616e0c80e86004d0003ece0488db2739 \
--hash=sha256:e6663f91b6feca5d06f2ccd49a10f254f9298cc1f7f49c46e498a0771b507104
black==24.3.0 \
--hash=sha256:2818cf72dfd5d289e48f37ccfa08b460bf469e67fb7c4abb07edc2e9f16fb63f \
--hash=sha256:41622020d7120e01d377f74249e677039d20e6344ff5851de8a10f11f513bf93 \
--hash=sha256:4acf672def7eb1725f41f38bf6bf425c8237248bb0804faa3965c036f7672d11 \
--hash=sha256:4be5bb28e090456adfc1255e03967fb67ca846a03be7aadf6249096100ee32d0 \
--hash=sha256:4f1373a7808a8f135b774039f61d59e4be7eb56b2513d3d2f02a8b9365b8a8a9 \
--hash=sha256:56f52cfbd3dabe2798d76dbdd299faa046a901041faf2cf33288bc4e6dae57b5 \
--hash=sha256:65b76c275e4c1c5ce6e9870911384bff5ca31ab63d19c76811cb1fb162678213 \
--hash=sha256:65c02e4ea2ae09d16314d30912a58ada9a5c4fdfedf9512d23326128ac08ac3d \
--hash=sha256:6905238a754ceb7788a73f02b45637d820b2f5478b20fec82ea865e4f5d4d9f7 \
--hash=sha256:79dcf34b33e38ed1b17434693763301d7ccbd1c5860674a8f871bd15139e7837 \
--hash=sha256:7bb041dca0d784697af4646d3b62ba4a6b028276ae878e53f6b4f74ddd6db99f \
--hash=sha256:7d5e026f8da0322b5662fa7a8e752b3fa2dac1c1cbc213c3d7ff9bdd0ab12395 \
--hash=sha256:9f50ea1132e2189d8dff0115ab75b65590a3e97de1e143795adb4ce317934995 \
--hash=sha256:a0c9c4a0771afc6919578cec71ce82a3e31e054904e7197deacbc9382671c41f \
--hash=sha256:aadf7a02d947936ee418777e0247ea114f78aff0d0959461057cae8a04f20597 \
--hash=sha256:b5991d523eee14756f3c8d5df5231550ae8993e2286b8014e2fdea7156ed0959 \
--hash=sha256:bf21b7b230718a5f08bd32d5e4f1db7fc8788345c8aea1d155fc17852b3410f5 \
--hash=sha256:c45f8dff244b3c431b36e3224b6be4a127c6aca780853574c00faf99258041eb \
--hash=sha256:c7ed6668cbbfcd231fa0dc1b137d3e40c04c7f786e626b405c62bcd5db5857e4 \
--hash=sha256:d7de8d330763c66663661a1ffd432274a2f92f07feeddd89ffd085b5744f85e7 \
--hash=sha256:e19cb1c6365fd6dc38a6eae2dcb691d7d83935c10215aef8e6c38edee3f77abd \
--hash=sha256:e2af80566f43c85f5797365077fb64a393861a3730bd110971ab7a0c94e873e7
# via -r dev-requirements.in
bleach==6.0.0 \
--hash=sha256:1a1a85c1595e07d8db14c5f09f09e6433502c51c595970edc090551f0db99414 \
Expand Down Expand Up @@ -680,6 +677,7 @@ typing-extensions==4.5.0 \
--hash=sha256:fb33085c39dd998ac16d1431ebc293a8b3eedd00fd4a32de0ff79002c19511b4
# via
# astroid
# black
# mypy
urllib3==1.26.18 \
--hash=sha256:34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07 \
Expand Down
1 change: 1 addition & 0 deletions tests/test_checker.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Test check use case.
"""

from typing import List

from pytest import raises
Expand Down
1 change: 1 addition & 0 deletions tests/test_draw_graph.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Test graph use case
"""

from typing import Iterator
from unittest.mock import Mock, patch

Expand Down
1 change: 1 addition & 0 deletions tests/test_parser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests about get_dependencies function.
"""

import re

from ordered_set import OrderedSet
Expand Down

0 comments on commit 51bc872

Please sign in to comment.