Skip to content

Commit

Permalink
Merge pull request #10 from opeco17/document-for-development
Browse files Browse the repository at this point in the history
Add new document to develop poetry-audit-plugin
  • Loading branch information
opeco17 authored Dec 4, 2022
2 parents 4f067d8 + 26c4b8f commit 1e6d4b5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,37 @@ poetry audit --json --ignore-package=py,ansible-tower-cli
* `0`: Vulnerabilities were not found.
* `1`: One or more vulnerabilities were found.

## Develop poetry-audit-plugin

You can read this document to setup an environment to develop poetry-audit-plugin.

First step is to install Poetry. Please read [official document](https://python-poetry.org/docs/) and install Poetry in your machine.

Then, you can install dependencies of poetry-audit-plugin with the following command.

```sh
poetry install
```

Once you've done it, you can start developing poetry-audit-plugin. You can use test assets for the testing.

```sh
cd tests/assets/no_vulnerabilities
poetry audit
```

Please lint, format, and test your changes before creating pull request to keep the quality.

```sh
./scripts/lint.sh
./scripts/format.sh
./scripts/test.sh
```

## Contribution

Help is always appreciated. Please feel free to create issue and pull request!

## License

This project is licensed under the terms of the MIT license.

0 comments on commit 1e6d4b5

Please sign in to comment.