Cfg-diag

Latest version: v0.4.0

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

Scan your dependencies

Page 1 of 2

0.4.0

- API break: restore the API of the `ConfigDiag*` class hierarchy: only
a single `.diag()` method that accepts a fixed string. Add the new
`Config*` class hierarchy with the `.diag(lambda)` and `.diag(string)`
API
- correctly refer to the `.diag_()` method for fixed strings in
the documentation
- add Nix expressions for running the tests
- start a CONTRIBUTING.md document describing a possible workflow

0.3.1

- add the year 2022 to the copyright notices
- relicense a unit test file to StorPool
- include the noxfile in the sdist tarball

0.3.0

- API break: the `.diag()` method now accepts a callable function that
will only be invoked if needed; it must return the string to be output
- add the `.diag_()` method for strings that are not expensive to build
- list Python 3.11 as a supported version
- various Tox configuration and testing clean-ups:
- use Pylint 2.14; it no longer outputs the `no-self-use` lint
- drop the flake8 + hacking environment, it is incompatible with recent
versions of flake8
- use `pytest.mark.parametrize()` instead of the ddt module
- add both lower and upper version constraints to most of the package
dependencies in the Tox test environments
- move the mypy configuration to the pyproject.toml file
- use types-setuptools and drop a `type: ignore` annotation
- add a Nox definitions file

0.2.1

- include the .editorconfig file in the sdist tarball

0.2.0

- drop Python 3.6 as a supported version, add Python 3.10 instead
- reformat the source code using black 22 and 100 characters per line
- drop the useless basepython definition from the Tox test environments
- add a pytest >= 6 dependency for the mypy environment and drop the type stubs
- reflow the tox.ini file with a four-character indent
- add an EditorConfig definitions file
- add a flake8 + hacking Tox test environment

0.1.1

- move some tool configuration options to setup.py and pyproject.toml
- add Python 3.9 as a supported version
- use unittest.mock instead of mock
- fix a code comment
- add a manifest to include more files in the source distribution

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.