A Vyper linter for fine sneks.
Project description
Natrix
Natrix is a vyper linter that checks for common mistakes in vyper contracts. It is designed to be your vyper copilot, helping you to write code that is more secure and efficient.
Getting started
Currently natrix requires uv to be installed to function correctly.
To check a contract:
natrix file_to_lint.vy
To check all vyper contract in the current directory:
natrix
Pre-commit hook
Natrix can also be used as a pre-commit hook. This allows to have your contracts checked automatically before you can commit.
To add natrix just add the following lines to your pre-commit-config.yaml config file:
repo:
TODO
and then install pre-commit in your repository by doing:
pre-commit install
Disclaimer
Natrix is highly experimental software, I do not take any responsibility for changes to the codebase suggested by this linter that might lead to loss of funds or any other issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file natrix-0.1.3.tar.gz.
File metadata
- Download URL: natrix-0.1.3.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70393a6a9a090f1eadaa8685177d11af918aa0e3fd12aa002116ce521c10e0df
|
|
| MD5 |
ebe2e40fd1b73c3cbadba854ca36b25c
|
|
| BLAKE2b-256 |
44e26af1a315f4353af02355aafb0c093d8a980c0a06ae3c6a37d92230807014
|
Provenance
The following attestation bundles were made for natrix-0.1.3.tar.gz:
Publisher:
release.yml on AlbertoCentonze/natrix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
natrix-0.1.3.tar.gz -
Subject digest:
70393a6a9a090f1eadaa8685177d11af918aa0e3fd12aa002116ce521c10e0df - Sigstore transparency entry: 179463684
- Sigstore integration time:
-
Permalink:
AlbertoCentonze/natrix@1827d59c2e2ebdf9d7e61d1cbffa9f1f032cc36d -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/AlbertoCentonze
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1827d59c2e2ebdf9d7e61d1cbffa9f1f032cc36d -
Trigger Event:
release
-
Statement type:
File details
Details for the file natrix-0.1.3-py3-none-any.whl.
File metadata
- Download URL: natrix-0.1.3-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c958c29e587159fd52e1dbd0aa7fc4e4444cb5af0c56e7c3cce41efc764b67be
|
|
| MD5 |
5f29a1652996723f02300b599ce00f0b
|
|
| BLAKE2b-256 |
07cf03bf1210a693dabe3a31ab21412f9b936aa2ba2508608984b0d017c006ba
|
Provenance
The following attestation bundles were made for natrix-0.1.3-py3-none-any.whl:
Publisher:
release.yml on AlbertoCentonze/natrix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
natrix-0.1.3-py3-none-any.whl -
Subject digest:
c958c29e587159fd52e1dbd0aa7fc4e4444cb5af0c56e7c3cce41efc764b67be - Sigstore transparency entry: 179463686
- Sigstore integration time:
-
Permalink:
AlbertoCentonze/natrix@1827d59c2e2ebdf9d7e61d1cbffa9f1f032cc36d -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/AlbertoCentonze
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1827d59c2e2ebdf9d7e61d1cbffa9f1f032cc36d -
Trigger Event:
release
-
Statement type: