Skip to content

Commit

Permalink
Switch to hatch build plugin (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored May 28, 2022
1 parent d5f2ad9 commit 061d846
Show file tree
Hide file tree
Showing 5 changed files with 424 additions and 39 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
strategy:
matrix:
group: [check_release, link_check]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install the Python dependencies
run: |
pip install -e ".[test]" codecov
pip install -e ".[test,dev]" codecov
- name: Run the tests
if: ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ steps::
pip install --upgrade setuptools pip
git clone https://github.com/jupyter/jupyter_server
cd jupyter_server
pip install -e ".[test]"
pip install -e ".[dev,test]"

If you are using a system-wide Python installation and you only want to install the server for you,
you can add ``--user`` to the install commands.
Expand All @@ -45,7 +45,7 @@ need to worry too much about your code style.
As long as your code is valid,
the pre-commit hook should take care of how it should look.
`pre-commit` and its associated hooks will automatically be installed when
you run ``pip install -e ".[test]"``
you run ``pip install -e ".[dev,test]"``

To install ``pre-commit`` manually, run the following::

Expand Down
Loading

0 comments on commit 061d846

Please sign in to comment.