tox-extra


Nametox-extra JSON
Version 1.0.0 PyPI version JSON
download
home_page
SummaryPerforms extra checks before or after running
upload_time2022-11-27 00:24:28
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT
keywords git tox tox-plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # tox-extra

This [tox plugin](https://github.com/topics/tox-plugin) adds few extra checks
like:

- ensure exit code 1 if git reports dirty or untracked files _after_ the run

Usage example:

```
$ tox -e py
...
ERROR: Git reported dirty status. Git should never report dirty status at the end of testing, regardless if status is passed, failed or aborted.
On branch devel
Your branch is up to date with 'origin/devel'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	some-untracked.txt

nothing added to commit but untracked files present (use "git add" to track)
__________________________________________ summary ___________________________________________
ERROR:   py: failed
```

The goal of this plugin is to help developers be aware about files modified by tests
or untracked files before they commit the code. This plugin also does not take into
consideration the global `.gitignore`, something that can make git miss reporting
some untracked files, the goal being to assure that when a new developer clones and
runs the tests they do not endup with an unexpected git status.

If you have any cases where you expect to have git report dirty, please
add `--allow-dirty` to the command call to disable this check.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "tox-extra",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Sorin Sbarnea <sorin.sbarnea@gmail.com>",
    "keywords": "git,tox,tox-plugin",
    "author": "",
    "author_email": "Sorin Sbarnea <sorin.sbarnea@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ef/d2/931dcac3454acd56b498675a7dc0d83846b1ec927dac31c27794722f76e5/tox-extra-1.0.0.tar.gz",
    "platform": null,
    "description": "# tox-extra\n\nThis [tox plugin](https://github.com/topics/tox-plugin) adds few extra checks\nlike:\n\n- ensure exit code 1 if git reports dirty or untracked files _after_ the run\n\nUsage example:\n\n```\n$ tox -e py\n...\nERROR: Git reported dirty status. Git should never report dirty status at the end of testing, regardless if status is passed, failed or aborted.\nOn branch devel\nYour branch is up to date with 'origin/devel'.\n\nUntracked files:\n  (use \"git add <file>...\" to include in what will be committed)\n\tsome-untracked.txt\n\nnothing added to commit but untracked files present (use \"git add\" to track)\n__________________________________________ summary ___________________________________________\nERROR:   py: failed\n```\n\nThe goal of this plugin is to help developers be aware about files modified by tests\nor untracked files before they commit the code. This plugin also does not take into\nconsideration the global `.gitignore`, something that can make git miss reporting\nsome untracked files, the goal being to assure that when a new developer clones and\nruns the tests they do not endup with an unexpected git status.\n\nIf you have any cases where you expect to have git report dirty, please\nadd `--allow-dirty` to the command call to disable this check.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Performs extra checks before or after running",
    "version": "1.0.0",
    "split_keywords": [
        "git",
        "tox",
        "tox-plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "a99088f5ebd407b55b4a3d643aacbafd",
                "sha256": "6976c507b8ea07e0ef22687ea25c9d648dc992dbee838f4bed7a6ca5d4336bc1"
            },
            "downloads": -1,
            "filename": "tox_extra-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a99088f5ebd407b55b4a3d643aacbafd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4321,
            "upload_time": "2022-11-27T00:24:27",
            "upload_time_iso_8601": "2022-11-27T00:24:27.032458Z",
            "url": "https://files.pythonhosted.org/packages/eb/9b/d31a1c1016c8777ec31ace6d839ab75ec7d8dbca032ba3ff80dc36e2b919/tox_extra-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "ad2f7fe86f933c7ce0f71527b9113eed",
                "sha256": "c4db2c61c727b0ecf20d2020a49390c118f13c913b11f33cd6e61896639087d0"
            },
            "downloads": -1,
            "filename": "tox-extra-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ad2f7fe86f933c7ce0f71527b9113eed",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 10091,
            "upload_time": "2022-11-27T00:24:28",
            "upload_time_iso_8601": "2022-11-27T00:24:28.131396Z",
            "url": "https://files.pythonhosted.org/packages/ef/d2/931dcac3454acd56b498675a7dc0d83846b1ec927dac31c27794722f76e5/tox-extra-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-11-27 00:24:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "tox-extra"
}
        
Elapsed time: 0.01537s