* fixed MySQL + krbV mappings to be reversed
* Working on issue #88
* More --clean tests.
* Fixed#88
* mapping aws-sam-translator
https://pypi.org/project/aws-sam-translator/https://github.com/awslabs/serverless-application-model
* Fixed#133
Sorted `imports` based on `lowercase` package's `name`, similar to `pip freeze`.
* Tweak formatting
* Add pyAFQ Mapping
* Add discord mapping
Map discord to discord.py
* Add PyFunctional mapping
Maps `functional` to `pyfunctional`. Fixes#232.
* Upgrade pip before running tests on travis
This should ensure that all tests use the same version of pip and this should hopefully fix the pypy build that is using pip 19
* Upgrading pypy to pypy3
Maybe forcing pypy to use python 3 will solve the issue (although it works fine with python 2.7 at the moment)
* Remove unecessary pip upgrade step
* Mapping for github3
* changes based on discussions w maintainer
* remove obsolete '=='
Co-authored-by: Hari Sekhon <harisekhon@gmail.com>
Co-authored-by: AlexPHorta <alexandre.horta@gmail.com>
Co-authored-by: Pat Myron <PatMyron@users.noreply.github.com>
Co-authored-by: Abhishek Kumar Singh <toanant@users.noreply.github.com>
Co-authored-by: Ben Bodenmiller <bbodenmiller@gmail.com>
Co-authored-by: John Kruper <36000@users.noreply.github.com>
Co-authored-by: Paweł Kalemba <5924586+pkalemba@users.noreply.github.com>
Co-authored-by: SwiftWinds <12981958+SwiftWinds@users.noreply.github.com>
Co-authored-by: Alan Barzilay <alan-barzilay@users.noreply.github.com>
Co-authored-by: alan-barzilay <alan.barzilay@gmail.com>
Co-authored-by: ryan-rozario <ryan.rozario1999@gmail.com>
Co-authored-by: Siyang <teo_siyang@imda.gov.sg>
Ref: https://github.com/bndr/pipreqs/issues/66#issuecomment-415642021 This is a wholly separate package from pycryptodome (which replaced pycrypto in #124 and uses the namespace Crypto in import statments). This uses the namespace `Cryptodome` (is that what we call the parent name of module when importing?)
- Hoist non-file-reading logic outside of the file context manager
- Use a dict instead of a list for faster / more Pythonic lookups
- Use a set to simplify the add / append logic
- Move import sorting from `get_all_imports` to `get_pkg_names` for
to account for set ordering. This change may also affect #89.
- Add a docstring
Currently, flake8 is accessible via `make lint`, but it does not run
along side the rest of the test suite. This change adds flake8 checks to
the tox.ini file to enable linting as a routine part of running tests.
Additionally, drop the changes made in #100.
By using tox instead of the default Travis-CI Python environments, we
ensure that we have a single entrypoint to testing both locally and in
CI. This reduces redundant code and makes it clear when test
environments don't match up on different platforms.
[tox-travis](https://tox-travis.readthedocs.io/en/stable/) is introduced
here to automatically run tox jobs under the proper Travis-CI
environments. Additionally, the coveralls step is moved to a [build
stage](https://docs.travis-ci.com/user/build-stages) to run once after
all other Travis-CI tests complete.
This change makes the <path> argument optional, defaulting to the
current working directory if omitted.
---
Ideally, this would have been accomplished via docopt, but optional
positional arguments with defaults are not supported at the moment [1, 2].
[1] https://github.com/docopt/docopt/issues/214
[2] https://github.com/docopt/docopt/issues/329