39 Commits

Author SHA1 Message Date
Abhishek Kumar Singh
fc720f18bb Fixed#133
Sorted `imports` based on `lowercase` package's `name`, similar to `pip freeze`.
2020-06-14 00:20:26 +05:30
Niti Santikul
71fc2dc90c support omit package output version 2019-10-21 00:53:03 +07:00
Nick Gustafson
4571740919 add test for get_pkg_names change 2018-02-08 11:05:47 -08:00
kxrd
06e933ef3c Add new options 2017-06-13 22:55:16 +02:00
UTAGAWA Kiki
ce68e5f98e Fix tests to pass 2016-11-22 00:17:46 +09:00
Vadim Kravcenko
987eb7af67 fix(tests): fix failing tests 2016-07-14 19:01:18 +02:00
Dmitry Pribysh
def91ce48a Fix 'duplicated deps' test case for python 2.6 2016-02-10 20:59:24 +03:00
Dmitry Pribysh
c3761598ce Add test for duplicated dependencies 2016-02-10 20:49:13 +03:00
Vadim Kravcenko
075436d8e1 fix(pipreqs): allow comma-separated --ignore parameter 2016-02-05 18:00:34 +01:00
Vadim Kravcenko
cdf95fbc88 improve(tests): add test for --ignore option 2016-02-05 17:28:43 +01:00
Kay Sackey
6ab86c37e4 Removing accidentally added lines 2016-01-28 15:45:17 -05:00
Kay Sackey
e4a58ee0ad Python 2.6 Compatibility 2016-01-28 15:38:00 -05:00
Kay Sackey
2059626583 Passing Tests
Also added test documentation.

The changes to the tests were necessary as AST walking will retrieve
all valid dependencies and fail on syntactically incorrect .py files.
2016-01-28 15:01:39 -05:00
EJ Lee
061a9b5f64 fixed lint warnings 2015-10-20 19:51:39 +09:00
Vadim Kravcenko
7170843913 fix(test_pipreqs): fix 2.6 python test 2015-09-28 20:49:04 +02:00
Vadim Kravcenko
8d7b7f6d1c feat(cli): add --proxy and --pypi-server options 2015-09-28 20:45:23 +02:00
lord63
d59c9a1e84 Fix flake8 2015-07-14 19:56:14 +08:00
Vadim Kravcenko
fe71b90075 Version 0.2.8
Add --force option
Clean up
2015-06-19 23:23:38 +02:00
Vadim Kravcenko
f18832690c pep8 2015-05-12 06:43:26 +02:00
Vadim Kravcenko
a517c3f86d fix travis 2015-05-12 06:41:18 +02:00
Vadim Kravcenko
107afcc6f2 fix tests 2015-05-12 06:33:07 +02:00
Vadim Kravcenko
0f622de27c fix(pipreqs): ignore word "import" in package names 2015-05-11 21:46:33 +02:00
Vadim Kravcenko
496b729309 fix(pipreqs): line parsing with comments on the same line 2015-05-11 19:18:05 +02:00
Vadim Kravcenko
3fc82c5743 refactor(pipreqs): Refactor core code, remove unnecessary prints, rename vars 2015-05-10 10:58:05 +02:00
Vadim Kravcenko
32e7739cc7 fix(tests): remove print statement 2015-05-09 09:11:13 +02:00
Tiago Costa
ea2db2c29a Strip alias from import name for multiple imports on the same line. Fix for #13 2015-05-08 23:57:19 +01:00
Vadim Kravcenko
d4e1e9144d style: PEP8 cleanup 2015-05-08 17:36:41 +02:00
Vadim Kravcenko
557817161e fix(tests): Add missing test packages, add more tests 2015-05-08 17:29:05 +02:00
Vadim Kravcenko
d5b182e445 improve(tests): add more test cases to increase coverage 2015-05-08 11:15:55 +02:00
Vadim Kravcenko
c4d0fb8cf0 feat(cli): Add --use-local option
When --use-local option is passed, only package information in local
site-packages directory is considered, otherwise BOTH local and PyPI
information is loaded.
2015-05-06 15:18:03 +02: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
04c0a94d09 fix(tests): Add more assertions 2015-04-24 08:47:44 +02:00
Vadim Kravcenko
6b651d0c68 fix test 2015-04-22 20:32:05 +02:00
Vadim Kravcenko
d6b4b43aa2 fix test 2015-04-22 20:18:12 +02:00
Vadim Kravcenko
0e22c93a99 Feat(tests): Add unittests 2015-04-22 20:05:25 +02:00
Vadim Kravcenko
6a3019427c Initial commit 2015-04-22 18:40:17 +02:00