Skip to main content

raise-tools

This repository contains the source for raise, which check repositories by the RAISE lab for compliance with a template.

Usage

There are two primary use cases for this tool. The first is to check that a directory containing your code is compliant with a RAISE-provided template. To do so, use

raise --path .

The . can be replaced by the directory where your code lives. This will check that your code follows PEP8 standards, that it contains the required files, and that the README file contains the necessary sections.

A second use case is to initialize a new repo from a template, similar to npm init. The templates come with some working code already to give you a feel for how code is expected to be written. To initialize, use

raise --init --template dl4se

dl4se can be replaced by any template name (currently, it is the only one). If the template argument is not provided, dl4se is assumed. You can provide configuration options in a file. To do so, name the file .raise.conf in the current directory. The configuration file has the syntax below.

Note: The options in the configuration file have precedence over command-line args. This means that if you specify the same thing in both places, your command-line args will be ignored. This is to encourage the use of configuration files.

[init]
template = dl4se  # or any other template
token = GITHUB_ACCESS_TOKEN
fork = yes  # or "no"

[check]
max_line_length = 120

Metadata

Release files for raise-tools 1.0.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 raise-tools 1.0.1
File Size Uploaded
raise-tools-1.0.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for raise-tools 1.0.1
File Interpreter ABI Platform
raise_tools-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.3 kB

Release files / raise-tools-1.0.1.tar.gz

Download URL raise-tools-1.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
01ce003c5f40b2ef542ccbc6492a09cafac1ac1d57dc35bfa98f25082817bffd
BLAKE2b-256 checksum
How to use checksums
80bea4b719af48c561d696dda20cdba29291ba7e3c812f03d3bbc1fd14881ae0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6

Release files / raise_tools-1.0.1-py3-none-any.whl

Download URL raise_tools-1.0.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c8a08436b937060773a5f805c4227b63597153edea4412a250bcc9fdc75bc62
BLAKE2b-256 checksum
How to use checksums
cedd809574f92179ff4e408017dc4c00d3cb1848bf70a0a9a962290798c8ab53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.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