Skip to main content

jrpytests

Overview

This package contains functions for CI testing of JR python packages and was created using the poetry python package, for more details see

https://github.com/sdispater/poetry.

jrpytests allows:

  • to run pytest,
  • to check coding style (via flake8) in python files,
  • to extract python chunks from Rmd files and check their coding style.

The flake8 configuration file is stored in this package, see

jrpytests/flake8_config.ini.

Basic usage

Import the package using

import jrpytests.

Run pytest

jrpytests.runpytests().

Run flake8 in python files

jrpytests.runflake8pythonfiles().

Run flake8 in Rmd python chunks

jrpytests.runflake8rmdpychunks().

Metadata

Release files for jrpytests 0.2.0

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

Source distribution (sdist)

Source distribution for jrpytests 0.2.0
File Size Uploaded
jrpytests-0.2.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jrpytests 0.2.0
File Interpreter ABI Platform
jrpytests-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / jrpytests-0.2.0.tar.gz

Download URL jrpytests-0.2.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2841b4576e2869e60a50f54ee6a141c7fa35b740512ec30c9269e0da8dd65b47
BLAKE2b-256 checksum
How to use checksums
1628e0dbf32f7cd13534c20fa057b466ff68568d84442cbf76c1deb0431ad02e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

Release files / jrpytests-0.2.0-py3-none-any.whl

Download URL jrpytests-0.2.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
281ab64992606569c1f54a885592b421dbcc43afdd951c2acbab517729e83b94
BLAKE2b-256 checksum
How to use checksums
2f1e4e5b9eba7f27f5b52407acd4f30c2e63296d9f6edbdc7af17ac2d6db92f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

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