Harri Berglund
57626670ce
Return sorted list from get_all_imports()
2015-04-28 23:11:19 +03:00
Harri Berglund
177c156b38
Use str.format()
2015-04-28 23:11:01 +03:00
Harri Berglund
fb87e41b63
Fix typos
2015-04-28 21:53:10 +03:00
cclauss
0b4b522c38
str.partition() simplifies the logic, thighten up write()
...
str.partition() has nice advantages over str.split():
```python
to_append = item if "." not in item else item.split(".")[0]
# is equivalent to...
to_append = item.partition(".")[0]
```
Also tightened up generate_requirements_file() to send all data in a single write() operation
2015-04-28 07:35:54 +02:00
cclauss
a04bb6f0fc
Minor edits
2015-04-28 00:30:12 +02:00
littmus
eca9884b25
Change map and filter to list comprehension for py2 and py3 compatible
2015-04-27 00:10:05 +09:00
littmus
a438406f68
- Pre-filter python files only and remove empty lines in file.
...
- Exclude local packages import.
2015-04-26 23:32:41 +09:00
littmus
1dee19e3f5
Include packages imported with "as" and add tests.
2015-04-26 23:32:17 +09:00
Michael
655b32797a
Fix indentation, pep8. Optimize imports and adding missing import for sys module.
...
Improvements in some parts of get_all_imports method and removing unused path variable.
2015-04-25 12:31:05 +03:00
Vadim Kravcenko
9fcb4216a2
Fix(tests): Increase test coverage
2015-04-24 10:57:25 +02:00
Vadim Kravcenko
ecc8db88f5
fix(pipreqs): More verbose output
2015-04-24 08:32:38 +02:00
Vadim Kravcenko
b55814a40d
fix(pipreqs): py3 print support
2015-04-22 22:49:59 +02:00
Vadim Kravcenko
8c7604ad99
Fix readme, add more verbose output
2015-04-22 22:40:17 +02:00
Vadim Kravcenko
68e08af6c5
fix(package): include stdlib in package
2015-04-22 21:45:48 +02:00
Vadim Kravcenko
4ea48f9c7c
fix(pipreqs): Fix regular expressions matching
2015-04-22 20:04:31 +02:00
Vadim Kravcenko
6a3019427c
Initial commit
2015-04-22 18:40:17 +02:00