Hassle

Latest version: v3.1.9

Safety actively analyzes 634728 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 8

2.8.0

New Features

* add tests execution to build command
* add -st/--skip_tests flag to hassle parser
Fixes

* catch Black.main()'s SystemExit
* fix Pathier.mkcwd() usage
* invoke build with sys.executable instead of py
Refactorings

* replace os.system calls for black and isort with direct invocations
* replace os.system calls for git functions with gitbetter.git methods
* extract build process into it's own function
* make run_tests() invoke pytest and coverage directly and return pytest result
Others

* remove unused import

2.7.1

Fixes

* remove update_minimum_python_version from build process since vermin is incorrectly reporting min versions
Refactorings

* set requires-python to >=3.10 in pyproject_template
Docs

* modify doc string formatting

2.7.0

Refactorings

* add a pause to manually prune the changelog before committing the autoupdate

2.6.0

Refactorings

* return minimum py version as string
* extract getting project code into separate function
* extract vermin scan into separate function

2.5.0

Fixes

* fix already exist error by switching pathlib to pathier
Refactorings

* replace pathlib, os.chdir, and shutil calls with pathier
Others

* prune dependencies

2.4.0

New Features

* implement manual override for 'tests' location
* generate_tests cli accepts individual files instead of only directories
Fixes

* add tests_dir.mkdir() to write_placeholders to keep pytest from throwing a fit
* fix not passing args.tests_dir param to test file generators
Refactorings

* generated test functions will have the form 'test_{function_name}'

Page 7 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.