Shun Kashiwa
08eead345a
Add --ignore-errors to skip files with syntax errors and attempt to find requirements on a best-effort basis
2025-03-14 09:49:03 -07:00
mateuslatrova
4a9176b39a
add support for .pyw files
...
Now, pipreqs will also scan imports in .pyw files by default.
2023-12-06 20:11:57 +00:00
fernandocrz
b50b4a76eb
Add support for jupyter notebooks
...
Credits to @pakio and @mateuslatrova for the contributions
2023-12-05 18:15:54 +00:00
fernandocrz
03c92488de
suppress errors and warnings in unit tests
...
Credits to @mateuslatrova for the contribution.
2023-12-05 18:15:54 +00:00
mateuslatrova
368e9ae7e7
handle FileNotFoundError in parse_requirements function
2023-10-20 08:59:50 -03:00
Alan Barzilay
2ebfc4645a
Merge branch 'next' into compare_modules_test
2023-10-10 15:36:35 -03:00
fernandocrz
12cc1e5b74
add test for parse_requirements function
2023-10-10 15:30:38 -03:00
Mateus Latrova
ed46d270e9
add test for "compare_modules" function
2023-10-09 16:12:42 -03:00
Lucas de Sousa Rosa
ccf097b02f
create test for output_requirements
2023-10-02 18:00:23 -03:00
Willian Rocha
f2e745256e
applying pep8 rules
2023-09-21 19:37:37 -03:00
Alan Barzilay
8001001e9c
Revert "Revert all commits since last release"
...
This reverts commit 90102acdbb23c09574d27df8bd1f568d34e0cfd3.
Now that we are ready to make a new release we can revert the revert and
hopefuly never have to solve a mess like this again to keep master
synchronized with the latest release
2021-09-04 15:12:27 -03:00
alan-barzilay
90102acdbb
Revert all commits since last release
...
By reverting all commits done since release v0.4.10 we will have the
master branch synchronized with the latest release available in pipy.
All commits done since the latest release will be moved to another
branch called `next` where we will centralize development. Once we are ready
for a new release of pipreqs, the `next` branch will be merged back on to
master and a new release will be made.
This change will make development more organized and will avoid new
issues from users complaining about features only present in master not working
on their installation of pipreqs.
I would also like to thank @pedroteosousa for his help on reverting and
squashing all commits
2021-05-05 02:08:31 -03:00
Jake
e5924d14b3
resolve conflicts; update new features
2021-03-29 22:13:19 +08:00
Jake
22fefca900
merged from origin
2021-03-29 21:48:44 +08:00
Siyang
69a884a4c4
changes based on discussions w maintainer
2021-03-29 21:35:34 +08:00
Alan Barzilay
1149429ab6
Merge pull request #195 from AlexPHorta/bugfix/issue88
...
Bugfix/issue88
2021-03-26 14:19:07 -03:00
Jake Teo
4eae4794a0
New Option for Dynamic Versioning ( #1 )
...
* added new option for dynamic versioning
* added quotes for dynamic options
Co-authored-by: Siyang <teo_siyang@imda.gov.sg>
2021-03-25 17:37:00 +08:00
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
AlexPHorta
21d3907e96
Fixed #88
2020-02-27 21:24:31 -03:00
AlexPHorta
386e677d80
More --clean tests.
2020-02-27 07:54:44 -03:00
AlexPHorta
2022f25ae9
Working on issue #88
2020-02-27 00:59:02 -03:00
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