Skip to content

Commit 34e2cba

Browse files
Build changes to Makefile and requirements.txt files (#166)
* Switch to using requirements.txt and Makefile * Setup pre-commit; Applied black * Fix quotes * Bump version: 0.7.7 → 0.8.0 * Fix for requirements-tests.txt name change
1 parent de3eb47 commit 34e2cba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+9627
-9365
lines changed

.github/workflows/black.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Format Check
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: psf/black@stable

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
50+
# By default, queries listed here will override any specified in a config file.
5151
# Prefix the list here with "+" to use these queries and those in the config file.
5252
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5353

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
python -m pip install --upgrade pip
2626
pip install flake8
2727
python setup.py install
28-
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
28+
if [ -f requirements-tests.txt ]; then pip install -r requirements-tests.txt; fi
2929
- name: Lint with flake8
3030
run: |
3131
# stop the build if there are Python syntax errors or undefined names

.github/workflows/pythonpublish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,3 @@ jobs:
2929
run: |
3030
python setup.py sdist bdist_wheel
3131
twine upload --verbose dist/*
32-

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,19 @@ ENV/
101101
.mypy_cache/
102102

103103
# downloaded
104-
*.txt
105104
*.pickle
106105
*.zip
107106

108107
# BDD Testing
109108
testing/
110109
!test-requirements.txt
111110
pretty.output
111+
allure_report/
112112

113113
# Misc
114114
tags
115115
.swp
116116
*.patch
117+
.direnv/
118+
.envrc
117119
.idea/

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.2.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
- repo: https://github.com/psf/black
10+
rev: 22.3.0
11+
hooks:
12+
- id: black
13+
language_version: python3

0 commit comments

Comments
 (0)