Skip to main content

JUnit assert statement checker plugin for flake8

Project description

Flake8 JUnit asserts plugin

Check for JUnit assert statements in your tests.

This module provides a plugin for flake8, the Python code checker.

Installation

You can install or upgrade flake8-junit with these commands::

$ pip install flake8-junit $ pip install --upgrade flake8-junit

Plugin for Flake8

When both flake8 and flake8-junit are installed, the plugin is available in flake8::

$ flake8 --version
5.0.4 (flake8-junit: 0.1.0, mccabe: 0.7.0, pycodestyle: 2.9.1, pyflakes: 2.5.0) CPython 3.9.9 on Darwin

Flake8 allows disabling some tests based on the folder:

[flake8]
per-file-ignores =
    tests/accounting/*: J10

Error codes

Error Code Description
J100 JUnit assert found

Changes

0.1.1 - 2022-09-09
  • First public release

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

flake8-junit-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_junit-0.1.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file flake8-junit-0.1.1.tar.gz.

File metadata

  • Download URL: flake8-junit-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.9 Darwin/21.6.0

File hashes

Hashes for flake8-junit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d622c8874e708d0786b87783de2ab2c6dbf7de33c098dc2991971cdd3a99fa32
MD5 5d11c2ac63a18a721cb1cf0c06cdb71d
BLAKE2b-256 0aee77443ccc088465d021425dee01fa3639b7797336913e9d5671500f683b0b

See more details on using hashes here.

File details

Details for the file flake8_junit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: flake8_junit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.9 Darwin/21.6.0

File hashes

Hashes for flake8_junit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7dd2b3ce52afab603d060d0a4f6e05bc7b77523cfdc72cb80a06b36e3f55819d
MD5 8d8ba172947dfa8cad4b0742ff247b67
BLAKE2b-256 4597ff8bb1ea22ef33e4c000d4784d2cd2fe73e84b6d541da0d02cae814bb833

See more details on using hashes here.

Supported by

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