Skip to content

Commit 0950e9a

Browse files
BD103BD103
andauthored
Workflow Pt. 2 (#7)
* feat: gh-actions and black formatter * feat(workflow): gh-actions, contributing.md, and more * fix(workflow): pull to pull_request * fix(workflow): python -m * fix(workflow): add poetry install * fix(workflow): disable virtualenvs * fix(workflow): revert and remove python -m for poetry * fix(workflow): try reverting from python -m * fix(workflow): remove gh-actions Co-authored-by: BD103 <dont@stalk.me>
1 parent b7a22de commit 0950e9a

4 files changed

Lines changed: 176 additions & 2 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,23 @@
11
# Contributing
22

3+
To contribute, first fork and clone.
4+
5+
```sh
6+
$ git clone https://github.com/ReplAPI-it/ReplAPI.it-Python.git
7+
```
8+
9+
Install the dependencies next.
10+
11+
```sh
12+
$ poetry install
13+
```
14+
15+
Edit the code, then lint and test.
16+
17+
```sh
18+
$ flake8
19+
$ isort .
20+
$ black .
21+
```
22+
23+
Then create your PR. Thanks for helping!

poetry.lock

Lines changed: 153 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "replapi-it"
3-
version = "0.0.1"
3+
version = "1.0.0"
44
description = "ReplAPI-It for Python"
55
authors = ["BD103 <dont@stalk.me>", "JBTY27"]
66
license = "GPL-3.0-only"
@@ -13,6 +13,7 @@ python = "^3.8"
1313
[tool.poetry.dev-dependencies]
1414
isort = "^5.8.0"
1515
flake8 = "^3.9.2"
16+
black = "^21.5b1"
1617

1718
[build-system]
1819
requires = ["poetry>=0.12"]

0 commit comments

Comments
 (0)