Skip to main content

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

Metadata

Release files for flake8-junit 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8-junit 0.1.1
File Size Uploaded
flake8-junit-0.1.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-junit 0.1.1
File Interpreter ABI Platform
flake8_junit-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / flake8-junit-0.1.1.tar.gz

Download URL flake8-junit-0.1.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d622c8874e708d0786b87783de2ab2c6dbf7de33c098dc2991971cdd3a99fa32
BLAKE2b-256 checksum
How to use checksums
0aee77443ccc088465d021425dee01fa3639b7797336913e9d5671500f683b0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.9 Darwin/21.6.0

Release files / flake8_junit-0.1.1-py3-none-any.whl

Download URL flake8_junit-0.1.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dd2b3ce52afab603d060d0a4f6e05bc7b77523cfdc72cb80a06b36e3f55819d
BLAKE2b-256 checksum
How to use checksums
4597ff8bb1ea22ef33e4c000d4784d2cd2fe73e84b6d541da0d02cae814bb833
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.9 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page