Skip to content
This repository was archived by the owner on Feb 22, 2020. It is now read-only.

Commit 0326fd9

Browse files
authored
Merge pull request #1 from n0remac/auto-flake8
Set up development.
2 parents 55bf1a9 + ab06930 commit 0326fd9

File tree

4 files changed

+259
-0
lines changed

4 files changed

+259
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: https://github.com/pycqa/flake8
3+
rev: "d583f051ed8ef047693956670f991692b5749318"
4+
hooks:
5+
- id: flake8

wandering-warriors/Pipfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[[source]]
2+
name = "pypi"
3+
url = "https://pypi.org/simple"
4+
verify_ssl = true
5+
6+
[dev-packages]
7+
flake8 = "*"
8+
pre-commit = "*"
9+
10+
[packages]
11+
kivy = "*"
12+
13+
[requires]
14+
python_version = "3.7"

wandering-warriors/Pipfile.lock

Lines changed: 229 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wandering-warriors/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
Please use this README to document your team's project. Make sure to include a general description, information on how to set-up and run your project, and anything else you think may be interesting for a README. The README is usually the first document people read when they visit a project on GitHub, so it's a good idea to make it appealing.
44

5+
## Installation
6+
7+
We use `pipenv` as a virtual environment wrapper, so to install kivy, just run `pipenv install`.
8+
9+
## Development Installation
10+
11+
There are a couple other dependencies for development: `flake8` and `pre-commit`. Just run `pipenv install --dev` to install these.
12+
13+
If you want your code scanned by `flake8` every time you commit, just run `pipenv run pre-commit install` once.
14+
A fair warning for those using pre-commit hooks: your next commit will take a while due to installing flake8's hook. After that, the commits do not take any time at all.
15+
516
## Useful links
617

718
- **Code Jam Rules:** [https://pythondiscord.com/pages/code-jams/code-jam-6/rules/](https://pythondiscord.com/pages/code-jams/code-jam-6/rules/)

0 commit comments

Comments
 (0)