Skip to content

Commit

Permalink
rollback dependency locking thing
Browse files Browse the repository at this point in the history
adds explicit python version
  • Loading branch information
salotz committed Mar 12, 2024
1 parent 9bc26fd commit b4e7367
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,23 @@ You will need to run this once to have hooks run on git pre-commit:
```sh
lefthook install
```
### Python Bootstrapping

If you want you can bootstrap python installations with Hatch:

```sh
hatch python install --private 3.12
```

Be sure to check the documentation to make sure your site
configuration of Hatch makes sense.

If you don't do this you will be responsible for installing a version
of python for development declared in the environment.

### Testing, linting, etc.


You can just run all QA with:

```sh
Expand Down
2 changes: 2 additions & 0 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ path = "src/pytest_checklist/__about__.py"

[envs.default]

python = "3.12"

dependencies = [
"pytest",
"black",
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

[pytest]
addopts = --color=yes --verbose --import-mode=importlib --capture=no --tb=native --test-data=test_data --checklist-collect src/pytest_checklist --checklist-report
addopts = --color=yes --verbose --import-mode=importlib --capture=no --tb=native --checklist-collect src/pytest_checklist --checklist-report
log_cli = 1
markers =
unit: test for the smallest piece of code that can be logically isolated in a system
Expand Down

0 comments on commit b4e7367

Please sign in to comment.