Skip to content

Commit d40475d

Browse files
committed
Merge branch 'init' of github.com:httpdss/struct into init
2 parents b575f0c + f1e3c76 commit d40475d

3 files changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/pre-commit.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: pre-commit
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
9+
jobs:
10+
pre-commit:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
- uses: pre-commit/action@v3.0.1

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.6.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,25 @@ structure:
6464
file: https://raw.githubusercontent.com/nishanths/license/master/LICENSE
6565
```
6666
67+
## Development
68+
69+
To get started with development, follow these steps:
70+
71+
1. Clone the repository
72+
2. Create a virtual environment
73+
74+
```sh
75+
python3 -m venv .venv
76+
source .venv/bin/activate
77+
```
78+
79+
3. Install the dependencies
80+
81+
```sh
82+
pip install -r requirements.txt
83+
pip install -r requirements.dev.txt
84+
```
85+
6786
## License
6887

6988
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

0 commit comments

Comments
 (0)