Skip to content

Commit ca30280

Browse files
committed
Merge main
2 parents 102cebc + 22bdedc commit ca30280

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

.github/workflows/tests.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
name: lint
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@master
10-
- uses: actions/setup-python@v4
11-
with:
12-
python-version: "3.11"
13-
- uses: pre-commit/[email protected]
14-
tests:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-python@v3
11+
with:
12+
python-version: "3.11"
13+
- uses: pre-commit/[email protected]
14+
pytest:
1515
name: pytest
1616
runs-on: ubuntu-latest
1717
strategy:
@@ -21,7 +21,7 @@ jobs:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
2222
steps:
2323
- uses: actions/checkout@v3
24-
- uses: actions/setup-python@v4
24+
- uses: actions/setup-python@v3
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Ensure poetry

CONTRIBUTING.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
# Contributing Guide
22

33
You will need:
4-
- Python 3.6 or higher
4+
- Python 3.7 or higher
55

66
## Getting started
77

8-
To get your development environment set up, run:
8+
To get your development environment set up, create and activate a virtual
9+
environment, and install poetry:
10+
11+
```
12+
pipx install poetry
13+
# or with conda
14+
conda install poetry
15+
```
16+
17+
Then install dependencies with poetry:
918

1019
```sh
11-
pip install -e .[dev]
20+
poetry install
1221
```
1322

14-
in an activated virtual environment. This will install the repo version of
23+
This will install the repo version of
1524
`graphene-pydantic` and then install the development dependencies. Once that
1625
has completed, you can start developing.
1726

0 commit comments

Comments
 (0)