archunitpython 1.1.0__py3-none-any.whl → 1.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  """ArchUnitPython - Architecture testing library for Python projects."""
2
2
 
3
- __version__ = "1.0.0"
3
+ __version__ = "1.1.2"
4
4
 
5
5
  # Files API
6
6
  # Common
@@ -58,7 +58,9 @@ def extract_graph(
58
58
  project_path = os.getcwd()
59
59
 
60
60
  project_path = os.path.abspath(project_path)
61
- excludes = list(exclude_patterns) if exclude_patterns is not None else list(_DEFAULT_EXCLUDE)
61
+ excludes = (
62
+ list(set(exclude_patterns)) if exclude_patterns is not None else list(_DEFAULT_EXCLUDE)
63
+ )
62
64
  ignore_type_checking_imports = bool(
63
65
  options and options.ignore_type_checking_imports
64
66
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: archunitpython
3
- Version: 1.1.0
3
+ Version: 1.1.2
4
4
  Summary: Architecture testing library for Python projects. Enforce dependency rules, detect cycles, validate metrics.
5
5
  Project-URL: Homepage, https://github.com/LukasNiessen/ArchUnitPython
6
6
  Project-URL: Repository, https://github.com/LukasNiessen/ArchUnitPython.git
@@ -24,6 +24,7 @@ Classifier: Topic :: Software Development :: Testing
24
24
  Classifier: Typing :: Typed
25
25
  Requires-Python: >=3.10
26
26
  Provides-Extra: dev
27
+ Requires-Dist: build>=1.0; extra == 'dev'
27
28
  Requires-Dist: mypy>=1.0; extra == 'dev'
28
29
  Requires-Dist: pytest-cov>=4.0; extra == 'dev'
29
30
  Requires-Dist: pytest>=7.0; extra == 'dev'
@@ -599,7 +600,12 @@ We use ourselves to ensure the architectural rules for this repository.
599
600
 
600
601
  ## 🦊 Contributing
601
602
 
602
- We highly appreciate contributions. We use GitHub Flow, meaning that we use feature branches. As soon as something is merged or pushed to `main` it gets deployed. Versioning is automated via [Conventional Commits](https://www.conventionalcommits.org/). See more in [Contributing](CONTRIBUTING.md).
603
+ We highly appreciate contributions. See [Contributing](CONTRIBUTING.md) for the full workflow.
604
+
605
+ - Use feature branches and open pull requests against `main`.
606
+ - Use [Conventional Commits](https://www.conventionalcommits.org/) so releases can be versioned automatically.
607
+ - Do not bump versions manually for normal feature or fix work; semantic-release updates `pyproject.toml`, `src/archunitpython/__init__.py`, and `CHANGELOG.md`.
608
+ - CI checks linting, typing, tests, package builds, and release metadata sync.
603
609
 
604
610
  ## ℹ️ FAQ
605
611
 
@@ -1,4 +1,4 @@
1
- archunitpython/__init__.py,sha256=Y7boq0Xo0uyEXzfP30N_Jt1ij6Ofy8q8XzinC6E1crU,926
1
+ archunitpython/__init__.py,sha256=Kj602wsdxapRIJHnd6ig-ksHtzWfupm-Rpo7HKALKYU,926
2
2
  archunitpython/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  archunitpython/common/__init__.py,sha256=u8jwbfALwIT_5ZqTrRchpZqkFHG5tTwM21LX5hR9ZSc,593
4
4
  archunitpython/common/pattern_matching.py,sha256=zhfglETSJfe5XPzueVflM14EKfllXuazqzd2XH5fuxw,2675
@@ -9,7 +9,7 @@ archunitpython/common/assertion/violation.py,sha256=TnMOykN3kPoGrSf1KcxBXYRfaxfX
9
9
  archunitpython/common/error/__init__.py,sha256=UWcdIKpGAJvo4WEGOVSaUjQQnKoPi8R496uDGXBWKsE,116
10
10
  archunitpython/common/error/errors.py,sha256=y7mcXoZPyK7uD2dMMO1qBt1y7KcIeGlRYiVeI6bjms4,249
11
11
  archunitpython/common/extraction/__init__.py,sha256=RkJOcxJoLYQxEagh3uWhjsUCprK3Nr3Bn3o7nmzk4_Q,284
12
- archunitpython/common/extraction/extract_graph.py,sha256=LNh3gohN3hkzoxBGrMOxqFUVPL3-oYiOU2W6Hja0Mbg,11979
12
+ archunitpython/common/extraction/extract_graph.py,sha256=qt6wJI9alZZyoWmwggvPkTDubnppneY2pHaATJbGzdk,12000
13
13
  archunitpython/common/extraction/graph.py,sha256=Rk-0eDDOLoHvScO27J2JzXjyMq3e5eKtrHnFBh5B6SU,1052
14
14
  archunitpython/common/fluentapi/__init__.py,sha256=J7PDgqBXQOpXqCMCGRyFNil0dCulufmhfirzvYvh-gk,119
15
15
  archunitpython/common/fluentapi/checkable.py,sha256=6Tsxtycc27-LaeE6cTtQF6NfepFzhgmCrFJAosN_chs,892
@@ -70,7 +70,7 @@ archunitpython/testing/common/__init__.py,sha256=Wc4bC-N4t6giChKjj6wuTGKkb39thcY
70
70
  archunitpython/testing/common/color_utils.py,sha256=2I8Z1SZfWhhgudMgmXY6PPydGxGl35cK_To-GXnSyJg,1226
71
71
  archunitpython/testing/common/violation_factory.py,sha256=wrhsQoTmu70cmgXjjTIJNdXFeN9iQerQCZR4-vaAwuQ,4209
72
72
  archunitpython/testing/pytest_plugin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
- archunitpython-1.1.0.dist-info/METADATA,sha256=Zx-869M7EX16qfaZJEhmRchJb31X9tB_TyGn7WWmZuk,19810
74
- archunitpython-1.1.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
75
- archunitpython-1.1.0.dist-info/licenses/LICENSE,sha256=kaQWfzfHk45CNIx4sIW7Uf1sNW5rmo6BpZ-R8GruuK0,1102
76
- archunitpython-1.1.0.dist-info/RECORD,,
73
+ archunitpython-1.1.2.dist-info/METADATA,sha256=hKP1bPzVqKt5QaUdbi5FYp1QdLW5-rL8ydHULR-P_08,20063
74
+ archunitpython-1.1.2.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
75
+ archunitpython-1.1.2.dist-info/licenses/LICENSE,sha256=kaQWfzfHk45CNIx4sIW7Uf1sNW5rmo6BpZ-R8GruuK0,1102
76
+ archunitpython-1.1.2.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.29.0
2
+ Generator: hatchling 1.30.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any