Skip to main content

No project description provided

Project description

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,
  • to check if a directory 'vignettes' exists in appropriate folder and,
  • to count pdf files in 'vignettes' and compare to number of Rmd files.

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().

Check 'vignettes' and number of pdf files in it

jrpytests.checkvignettespdffiles().

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

jrpytests-0.1.8.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

jrpytests-0.1.8-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file jrpytests-0.1.8.tar.gz.

File metadata

  • Download URL: jrpytests-0.1.8.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

File hashes

Hashes for jrpytests-0.1.8.tar.gz
Algorithm Hash digest
SHA256 8ada03b065a993cf2370f4cd77a102c5fd9a22aeeba47947feb7f4c8e0bd0f84
MD5 eb40915554f72ddb5c90cc51c7d8f19e
BLAKE2b-256 9caf3ce4d4c6b1738480144529ef6c546106bc97bca02e4d86867cb33db18e1c

See more details on using hashes here.

File details

Details for the file jrpytests-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: jrpytests-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

File hashes

Hashes for jrpytests-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0b46a83df9ba3b4f24abfea84878e51eed17890d290d5d9cdf0482b9db52629e
MD5 d58df1901ce5a772b08416a456026b5d
BLAKE2b-256 455eaaab3838cfd7cf83273f4a16e3636cbe3e561cce47643ccb0769323fca2f

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