Skip to main content

Backticks tox plugin for tox v.4.x.x.

Project description

tox-backtick

Backticks tox plugin for tox v.4.x.x.

Overview

tox-backtick is a strict fork of Damien Nadé’s tox-backtocks package (v.0.4.0) with a fixes allowing to work on Python 3.8 or higher and on Windows with a little code reformatting and minor improvements.

PyPI record.

Documentation.

Overview below is a copy from the original tox-backtocks README.md:

tox-backtocks

PyPI version Supported Python Version License PyPI - Downloads

A refreshed backticks tox plugin

This is a very early stage release. Use it at your own risks.

Here’s the roadmap to 1.0 release and our current status:

  • [x] define a backquote var in set_env with a

    backquoted expression (and nothing else) and evaluate it through bash, inside the tox virtual environment.

  • [x] Make of a backquote var usable in commands section.

  • [x] Allow another variable to be referenced inside the

    backquoted expression

  • [x] Strip the trailing newline characters of the

    backquoted expression

  • [ ] Allow user configure the evaluation of backquote expression

    to be with a shell or not (either fork the command directly, either fork a shell and evaluate a possible-complex shell expression)

  • [ ] Allow a backquote var value to contain regular string parts

    and a backquote expression

  • [ ] Allow a backquote var value to contain more than one

    backquote expression

  • [ ] Allow user to configure if we should strip the trailing newline

    characters or not.

  • [x] Allow another variable to reuse the evaluated

    backquoted expression

  • [x] Allow another variable to reuse the evaluated

    backquoted expression without reevaluating it :) (I mean, it’s hacked, but heh, better than nothing)

  • [x] If evaluating through a shell, automatically add said shell to

    allowlist_externals section

  • [x] Have a working package

  • [ ] Write user documentation

Usage

TBD…

Installation

Prerequisites:

To install run:

python -m pip install --upgrade tox-backtick

Development

Prerequisites:

  • Development is strictly based on tox. To install it run:

    python -m pip install --upgrade tox

Visit Development page.

Installation from sources:

clone the sources:

git clone https://github.com/karpierz/tox-backtick.git tox-backtick

and run:

python -m pip install ./tox-backtick

or on development mode:

python -m pip install --editable ./tox-backtick

License

Copyright (c) 2023 Damien Nadé
Copyright (c) 2024-2024 Adam Karpierz
Licensed under the LGPL-2.1-or-later License
Please refer to the accompanying LICENSE file.

Authors

Changelog

0.4.6 (2024-08-13)

  • Add support for Python 3.13

  • Setup (dependencies) update.

0.4.5 (2024-07-15)

  • Setup (dependencies) update.

  • Corrected licence information in README.rst

0.4.4 (2024-01-26)

  • Cleanup.

0.4.1 (2024-01-24)

  • First functional release.

0.0.0 (2024-01-22)

  • Initial commit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tox_backtick-0.4.6.zip (30.2 kB view details)

Uploaded Source

Built Distribution

tox_backtick-0.4.6-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file tox_backtick-0.4.6.zip.

File metadata

  • Download URL: tox_backtick-0.4.6.zip
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for tox_backtick-0.4.6.zip
Algorithm Hash digest
SHA256 6d0123823d55ec0c3ba32d0c09d3e01851f68c35ffadf6fcf5e7aaabaad4bb30
MD5 0f6728b6e3aae26fa59ed00bad6a2cb0
BLAKE2b-256 4aa152f8578e240bf14648a58f19a2d63903612a2c32155e00181522ffe0a11a

See more details on using hashes here.

File details

Details for the file tox_backtick-0.4.6-py3-none-any.whl.

File metadata

  • Download URL: tox_backtick-0.4.6-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for tox_backtick-0.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0e71e33a6aebb49b2c817a3ed83ecb24d69b51652f7409b32d9e9bfa540738dc
MD5 12249250cd6fe49217f4d00fd5607cc8
BLAKE2b-256 7377838d484fcf7d166805ebf41245ea1c4a026d0494055fa3013ef41cc25d54

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page