Skip to content

Commit

Permalink
test black
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkure committed Feb 17, 2021
1 parent a5824c4 commit 7001df3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Lint
run: |
black ./ --check
flake8
# flake8
# test:
# needs: lint
# runs-on: ubuntu-latest
Expand Down
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,8 @@
# with open('HISTORY.rst') as history_file:
# history = history_file.read()

requirements = []
with open('requirements.txt') as f:
for line in f:
splitted = line.split("#")
stripped = splitted[0].strip()
if len(stripped) > 0:
requirements.append(stripped)
with open("requirements.txt") as f:
requirements = f.read().splitlines()

with open("requirements_dev.txt") as f:
requirements_dev = f.read().splitlines()
Expand Down

0 comments on commit 7001df3

Please sign in to comment.