Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix flake8 error in build #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ language: python

python:
- 2.7
- 3.2
- 3.3
- 3.4
- 3.5
# - pypy
- 3.6
- 3.7
- 3.8
# - pypy

script:
- python setup.py install
Expand Down
2 changes: 2 additions & 0 deletions parallel/parallelppdev.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def _IOR(type, nr, size):
def _IOW(type, nr, size):
return _IOC(_IOC_WRITE, type, nr, sizeof(size))


_IOC_SIZEBITS = 14
_IOC_SIZEMASK = (1 << _IOC_SIZEBITS) - 1
_IOC_NRSHIFT = 0
Expand Down Expand Up @@ -118,6 +119,7 @@ def _IOC_TYPE(nr):
def _IOWR(type, nr, size):
return _IOC(_IOC_READ | _IOC_WRITE, type, nr, sizeof(size))


__ELF__ = 1
__i386 = 1
__i386__ = 1
Expand Down