Skip to content

Commit

Permalink
Merge pull request #102 from nexB/remove-duplicate-commoncode-util
Browse files Browse the repository at this point in the history
Remove duplicate code for commoncode.datautils
  • Loading branch information
keshav-space authored Feb 26, 2024
2 parents 652c524 + 22239c0 commit b8bb307
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 249 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ html5lib==1.1
idna==3.3
importlib-metadata==4.8.3
inflection==0.5.1
intbitset==3.0.1
intbitset==3.1.0
isodate==0.6.1
jaraco.functools==3.4.0
javaproperties==0.8.1
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ python_requires = >=3.7

install_requires =
attrs
htmllistparse
commoncode
packageurl-python
requests
Expand Down
239 changes: 0 additions & 239 deletions src/fetchcode/commoncode_datautils.py

This file was deleted.

16 changes: 8 additions & 8 deletions src/fetchcode/packagedcode_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@
from packageurl import normalize_qualifiers
from packageurl import PackageURL

from fetchcode.commoncode_datautils import choices
from fetchcode.commoncode_datautils import Boolean
from fetchcode.commoncode_datautils import Date
from fetchcode.commoncode_datautils import Integer
from fetchcode.commoncode_datautils import List
from fetchcode.commoncode_datautils import Mapping
from fetchcode.commoncode_datautils import String
from fetchcode.commoncode_datautils import TriBoolean
from commoncode.datautils import choices
from commoncode.datautils import Boolean
from commoncode.datautils import Date
from commoncode.datautils import Integer
from commoncode.datautils import List
from commoncode.datautils import Mapping
from commoncode.datautils import String
from commoncode.datautils import TriBoolean


"""
Expand Down

0 comments on commit b8bb307

Please sign in to comment.