File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 22
33
44flake :
5- flake8 aiorwlock tests examples
5+ flake8 aiorwlock tests examples setup.py
66
77test : flake
88 pytest -s
Original file line number Diff line number Diff line change @@ -271,5 +271,6 @@ def writer(self) -> _WriterLock:
271271 writer_lock = writer
272272
273273 def __repr__ (self ) -> str :
274- return '<RWLock: {} {}>' .format (self .reader_lock .__repr__ (),
275- self .writer_lock .__repr__ ())
274+ rl = self .reader_lock .__repr__ ()
275+ wl = self .writer_lock .__repr__ ()
276+ return '<RWLock: {} {}>' .format (rl , wl )
Original file line number Diff line number Diff line change 88
99
1010if sys .version_info < (3 , 5 , 3 ):
11- raise RuntimeError (" aiorwlock requires Python 3.5.3+" )
11+ raise RuntimeError (' aiorwlock requires Python 3.5.3+' )
1212
1313
1414def read (f ):
@@ -27,6 +27,7 @@ def read_version():
2727 else :
2828 raise RuntimeError ('Cannot find version in aiorwlock/__init__.py' )
2929
30+
3031classifiers = [
3132 'License :: OSI Approved :: Apache Software License' ,
3233 'Intended Audience :: Developers' ,
You can’t perform that action at this time.
0 commit comments