Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 5a1c4d3

Browse files
authored
Gitpod-ify the repository (#548)
* Gitpod-ify the repository * Update README.rst * Create Makefile * Update README.rst * Update test.yml
1 parent b174899 commit 5a1c4d3

File tree

4 files changed

+39
-2
lines changed

4 files changed

+39
-2
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: Install tox
2020
run: python -m pip install --upgrade pip tox
2121
- name: Run Tests
22-
run: tox -e py,install,docs
22+
run: make tests

.gitpod.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
tasks:
3+
- init: pip install -r requirements.txt && pip install -e .
4+
5+
github:
6+
prebuilds:
7+
master: true
8+
branches: true
9+
pullRequests: true
10+
pullRequestsFromForks: true
11+
addCheck: true
12+
13+
vscode:
14+
extensions:
15+
- ms-python.python

Makefile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
all: format tests
2+
3+
format:
4+
isort src/pydocstyle
5+
black src/pydocstyle
6+
7+
tests:
8+
tox -e py,install,docs

README.rst

+15-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ pydocstyle - docstring style checker
2121
.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
2222
:target: https://pycqa.github.io/isort/
2323

24+
.. image:: https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod
25+
:target: https://gitpod.io/#https://github.com/PyCQA/pydocstyle
26+
:alt: Gitpod ready-to-code
27+
2428
**pydocstyle** is a static analysis tool for checking compliance with Python
2529
docstring conventions.
2630

@@ -43,7 +47,7 @@ Install
4347
4448
4549
Run
46-
^^^^
50+
^^^
4751

4852
.. code::
4953
@@ -56,6 +60,16 @@ Run
5660
D201: No blank lines allowed before function docstring (found 1)
5761
...
5862
63+
Develop
64+
^^^^^^^
65+
66+
You can use Gitpod to run pre-configured dev envrionment in the cloud right from your browser -
67+
68+
.. image:: https://gitpod.io/button/open-in-gitpod.svg
69+
:target: https://gitpod.io/#https://github.com/PyCQA/pydocstyle
70+
:alt: Open in Gitpod
71+
72+
Before submitting a PR make sure that you run `make all`.
5973

6074
Links
6175
-----

0 commit comments

Comments
 (0)