Skip to content

Commit

Permalink
chore: Remove pre-commit support (#71)
Browse files Browse the repository at this point in the history
We'll just run `yarn lint && yarn validate` manually before committing
for now.
  • Loading branch information
l0b0 authored Sep 29, 2021
1 parent bdd3c14 commit beb8079
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 392 deletions.
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@ updates:
directory: /
schedule:
interval: daily
- package-ecosystem: pip
directory: /
schedule:
interval: daily
18 changes: 0 additions & 18 deletions .pre-commit-config.yaml

This file was deleted.

23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,9 @@ if other data managers find them to be useful.

## Development

Prerequisites:
Install packages by running `yarn`.

- [Poetry](https://python-poetry.org/)
- [Yarn](https://yarnpkg.com/)

Follow these steps to set up a development environment with pre-commit hooks to
automatically verify the contents of files before committing:

1. Install packages:

```shell
yarn
poetry install
```

2. Enable pre-commit hooks:

```shell
poetry run pre-commit install --overwrite
```
Verify changes by running `yarn lint && yarn validate` before committing.

### Releases

Expand All @@ -67,7 +50,7 @@ Push this to master then the build pipeline will create a github release which w
Be sure to add a schemaMap entry to the
[validate.sh](validate.sh) file with your json-schema
`$id` url followed by the path to the json-schema locally. This will allow
pre-commit to use a local json-schema file rather than retrieving a possibly yet
`yarn validate` to use a local json-schema file rather than retrieving a possibly yet
un-published json-schema.

## [License](LICENSE)
Expand Down
326 changes: 0 additions & 326 deletions poetry.lock

This file was deleted.

2 changes: 0 additions & 2 deletions poetry.toml

This file was deleted.

Loading

0 comments on commit beb8079

Please sign in to comment.