pytest-ruff


Namepytest-ruff JSON
Version 0.4.1 PyPI version JSON
download
home_pageNone
Summarypytest plugin to check ruff requirements.
upload_time2024-07-21 08:01:30
maintainerNone
docs_urlNone
authorIuri de Silvio
requires_python<4.0,>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pytest-ruff

A pytest plugin to run [ruff](https://pypi.org/project/ruff/).

## Installation

```shell
pip install pytest-ruff
```

## Usage

```shell
pytest --ruff --ruff-format
```

The plugin will run one ruff check test per file and fail if code is not ok for ruff.

Format command only checks for format and fails for formatting errors.

## Configuration

You can override ruff configuration options by placing a `pyproject.toml` or `ruff.toml` file in your project directory, like when using standalone ruff.

## License

Distributed under the terms of the `MIT` license, `pytest-ruff` is free and open source software.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pytest-ruff",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Iuri de Silvio",
    "author_email": "iurisilvio@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/d1/28/4d4e312a16c8969f475f6e18741bc6a2f8ee70d78e16dc3b6deba9f94e6d/pytest_ruff-0.4.1.tar.gz",
    "platform": null,
    "description": "# pytest-ruff\n\nA pytest plugin to run [ruff](https://pypi.org/project/ruff/).\n\n## Installation\n\n```shell\npip install pytest-ruff\n```\n\n## Usage\n\n```shell\npytest --ruff --ruff-format\n```\n\nThe plugin will run one ruff check test per file and fail if code is not ok for ruff.\n\nFormat command only checks for format and fails for formatting errors.\n\n## Configuration\n\nYou can override ruff configuration options by placing a `pyproject.toml` or `ruff.toml` file in your project directory, like when using standalone ruff.\n\n## License\n\nDistributed under the terms of the `MIT` license, `pytest-ruff` is free and open source software.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "pytest plugin to check ruff requirements.",
    "version": "0.4.1",
    "project_urls": {
        "Homepage": "https://github.com/businho/pytest-ruff"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0f7aed1015e97fadfde96b2c439390dc5a75542a77982d775baf2ada9f536cac",
                "md5": "e1a855aed19df561e6caf59b9bf2468c",
                "sha256": "69acd5b2ba68d65998c730b5b4d656788193190e45f61a53aa66ef8b390634a4"
            },
            "downloads": -1,
            "filename": "pytest_ruff-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e1a855aed19df561e6caf59b9bf2468c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 4589,
            "upload_time": "2024-07-21T08:01:28",
            "upload_time_iso_8601": "2024-07-21T08:01:28.997266Z",
            "url": "https://files.pythonhosted.org/packages/0f/7a/ed1015e97fadfde96b2c439390dc5a75542a77982d775baf2ada9f536cac/pytest_ruff-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1284d4e312a16c8969f475f6e18741bc6a2f8ee70d78e16dc3b6deba9f94e6d",
                "md5": "ec2b0d6072d34cac30a374262595fa60",
                "sha256": "2c9a30f15f384c229c881b52ec86cfaf1e79d39530dd7dd5f2d6aebe278f7eb7"
            },
            "downloads": -1,
            "filename": "pytest_ruff-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ec2b0d6072d34cac30a374262595fa60",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 3919,
            "upload_time": "2024-07-21T08:01:30",
            "upload_time_iso_8601": "2024-07-21T08:01:30.430143Z",
            "url": "https://files.pythonhosted.org/packages/d1/28/4d4e312a16c8969f475f6e18741bc6a2f8ee70d78e16dc3b6deba9f94e6d/pytest_ruff-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-21 08:01:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "businho",
    "github_project": "pytest-ruff",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "pytest-ruff"
}
        
Elapsed time: 0.31882s