Skip to content

Commit 749598f

Browse files
Need to import metadata directly.
1 parent 749a3b4 commit 749598f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ samldiff = "pyff.tools:difftool"
2424
# Allow lines to be as long as 120.
2525
line-length = 120
2626
target-version = "py39"
27+
28+
[tool.ruff.lint]
29+
# future fixes....
30+
#select = [
31+
# "B", # flake8-bugbear
32+
# "E", # pycodestyle error
33+
# "F", # pyflakes
34+
# "I", # isort
35+
# "UP", # pyupgrade
36+
# "W", # pycodestyle warning
37+
#]
2738
[tool.ruff.format]
2839
quote-style = "preserve"
2940

src/pyff/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
pyFF is a SAML metadata aggregator.
33
"""
44

5-
import importlib
5+
import importlib.metadata
66

77
__version__ = importlib.metadata.version('pyFF')

0 commit comments

Comments
 (0)