Metadata-Version: 2.3
Name: jrpytests
Version: 0.3.0
Summary: 
Author: Jumping Rivers
Author-email: Jumping Rivers <info@jumpingrivers.com>
Requires-Dist: pytest>=7.0
Requires-Dist: flake8>=3.9.1
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# jrpytests

## Overview

This package contains functions for CI testing of JR python packages. It is built with
[uv](https://docs.astral.sh/uv/): `make build` and `make check`.

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