Skip to content

Commit 9b3a4a1

Browse files
author
sgmdlt
committed
reupload project
1 parent 06552c6 commit 9b3a4a1

18 files changed

+1231
-0
lines changed

.github/workflows/main.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Python Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
python-version: [3.7, 3.8, 3.9]
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python ${{ matrix.python-version }}
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{ matrix.python-version }}
21+
- name: Install dependencies
22+
run: |
23+
pip install poetry
24+
poetry add wemake-python-styleguide
25+
make install
26+
- name: Run Test
27+
run: |
28+
make test
29+
- name: wemake-python-styleguide
30+
uses: wemake-services/[email protected]
31+

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: ../hooks
3+
rev: f3233ab8b3fcc54a0273006869a7010398ecb8cc
4+
hooks:
5+
- id: make-check

Makefile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
install:
2+
poetry install
3+
4+
test:
5+
poetry run pytest
6+
7+
lint:
8+
poetry run flake8 ./python_automata
9+
10+
check: test lint
11+
12+
13+
.PHONY: test

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[![Python Test](https://github.com/sgmdlt/automatas/actions/workflows/main.yml/badge.svg?branch=master&event=push)](https://github.com/sgmdlt/automatas/actions/workflows/main.yml)
2+
3+
## automatas
4+
experimenting with implementations of various automata in python
5+

README.rst

Whitespace-only changes.

0 commit comments

Comments
 (0)