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.7.tar.gz (4.9 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.7-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jrpytests-0.1.7.tar.gz
Algorithm Hash digest
SHA256 f87922ef033ba4e43170174697c5fa486c5f355e37811935e6236bc14edbf5f8
MD5 be13b30da57b1c6a69a0dc07b38ec3d0
BLAKE2b-256 74c09398a5dfadc7ba28efe0fecfa260ea0c76829697635c4f9f196b91d08b96

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for jrpytests-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6506b6eebfc2961884ab40230c4a33e55276c091649b3e13be3fd9b1dc494340
MD5 7358380a568bf2e49be867551f27f645
BLAKE2b-256 89eca9958d61708f084cc5c4d2c737bde3b2658aa1c90cc1e33c219ab0e7022c

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