Skip to content

Commit 21def1b

Browse files
committed
[SP-2587] chore: update version and changelog
1 parent 2933009 commit 21def1b

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Added
1010
- Upcoming changes...
1111

12+
## [1.27.0] - 2025-06-30
13+
### Added
14+
- Add directory hash calculation to folder hasher
15+
- Add rank-threshold option to folder scan command
16+
1217
## [1.26.3] - 2025-06-26
1318
### Fixed
1419
- Fixed crash in inspect subcommand when processing components that lack license information
@@ -570,4 +575,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
570575
[1.26.0]: https://github.com/scanoss/scanoss.py/compare/v1.25.2...v1.26.0
571576
[1.26.1]: https://github.com/scanoss/scanoss.py/compare/v1.26.0...v1.26.1
572577
[1.26.2]: https://github.com/scanoss/scanoss.py/compare/v1.26.1...v1.26.2
573-
[1.26.3]: https://github.com/scanoss/scanoss.py/compare/v1.26.2...v1.26.3
578+
[1.26.3]: https://github.com/scanoss/scanoss.py/compare/v1.26.2...v1.26.3
579+
[1.27.0]: https://github.com/scanoss/scanoss.py/compare/v1.26.3...v1.27.0

src/scanoss/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
THE SOFTWARE.
2323
"""
2424

25-
__version__ = '1.26.3'
25+
__version__ = '1.27.0'

src/scanoss/cli.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,8 @@ def setup_args() -> None: # noqa: PLR0912, PLR0915
632632
'--rank-threshold',
633633
type=int,
634634
default=DEFAULT_HFH_RANK_THRESHOLD,
635-
help='Filter results to only show those with rank value at or below this threshold (e.g., --rank-threshold 3 returns results with rank 1, 2, or 3). '
636-
'Lower rank values indicate higher quality matches.',
635+
help='Filter results to only show those with rank value at or below this threshold (e.g., --rank-threshold 3 '
636+
'returns results with rank 1, 2, or 3). Lower rank values indicate higher quality matches.',
637637
)
638638
p_folder_scan.set_defaults(func=folder_hashing_scan)
639639

@@ -1448,7 +1448,7 @@ def utils_certloc(*_):
14481448
Run the "utils certloc" sub-command
14491449
:param _: ignored/unused
14501450
"""
1451-
import certifi # noqa: PLC0415,I001
1451+
import certifi # noqa: PLC0415,I001
14521452

14531453
print(f'CA Cert File: {certifi.where()}')
14541454

@@ -1459,11 +1459,11 @@ def utils_cert_download(_, args): # pylint: disable=PLR0912 # noqa: PLR0912
14591459
:param _: ignore/unused
14601460
:param args: Parsed arguments
14611461
"""
1462-
import socket # noqa: PLC0415,I001
1463-
import traceback # noqa: PLC0415,I001
1464-
from urllib.parse import urlparse # noqa: PLC0415,I001
1462+
import socket # noqa: PLC0415,I001
1463+
import traceback # noqa: PLC0415,I001
1464+
from urllib.parse import urlparse # noqa: PLC0415,I001
14651465

1466-
from OpenSSL import SSL, crypto # noqa: PLC0415,I001
1466+
from OpenSSL import SSL, crypto # noqa: PLC0415,I001
14671467

14681468
file = sys.stdout
14691469
if args.output:
@@ -1511,7 +1511,7 @@ def utils_pac_proxy(_, args):
15111511
:param _: ignore/unused
15121512
:param args: Parsed arguments
15131513
"""
1514-
from pypac.resolver import ProxyResolver # noqa: PLC0415,I001
1514+
from pypac.resolver import ProxyResolver # noqa: PLC0415,I001
15151515

15161516
if not args.pac:
15171517
print_stderr('Error: No pac file option specified.')
@@ -1585,7 +1585,7 @@ def crypto_algorithms(parser, args):
15851585
sys.exit(1)
15861586
except Exception as e:
15871587
if args.debug:
1588-
import traceback # noqa: PLC0415,I001
1588+
import traceback # noqa: PLC0415,I001
15891589

15901590
traceback.print_exc()
15911591
print_stderr(f'ERROR: {e}')
@@ -1627,7 +1627,7 @@ def crypto_hints(parser, args):
16271627
sys.exit(1)
16281628
except Exception as e:
16291629
if args.debug:
1630-
import traceback # noqa: PLC0415,I001
1630+
import traceback # noqa: PLC0415,I001
16311631

16321632
traceback.print_exc()
16331633
print_stderr(f'ERROR: {e}')
@@ -1669,7 +1669,7 @@ def crypto_versions_in_range(parser, args):
16691669
sys.exit(1)
16701670
except Exception as e:
16711671
if args.debug:
1672-
import traceback # noqa: PLC0415,I001
1672+
import traceback # noqa: PLC0415,I001
16731673

16741674
traceback.print_exc()
16751675
print_stderr(f'ERROR: {e}')

0 commit comments

Comments
 (0)