Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove old __future__ imports | Lucas Hoffmann | 2018-06-19 |
| | | | | They are not needed for python >= 3.0. | ||
* | add test for argparse validator | Patrick Totzke | 2017-11-08 |
| | |||
* | tests: Instruct pylint to ignore a large swath of warnings | Dylan Baker | 2017-02-08 |
| | | | | | | | | | There are a number of things pylint warns on that absolutely make sense to fix in production code, but for unittests they either don't matter (like naming variables "foo"), can't be fixed (TestCase methods that don't use self because they use a mock assert), or the descriptive names violate PEP8. These are annoying and create noise, so tell pylint to ignore them. | ||
* | Silence argparse validator test | Lucas Hoffmann | 2017-01-28 |
| | |||
* | alot/utils/argparse: Add a new argparse validators infrastructure | Dylan Baker | 2017-01-25 |
| | | | | | | | | | | | | | This adds a new argparse.Action class validates input using a new keyword argument that takes a validator function. This will allow us to replace the use the type keyword as a validator, which is both more correct, and frees up the type keyword to do what it's actually meant to do, convert the input from one type to another. It also adds 3 new validator functions that will be enabled in the next commit. One that checks for a required file, one that checks for an optional directory, and one that looks for a required file, fifo, or block special device (/dev/null). | ||
* | move alot/settings/checks to alot/utils/configobj | Dylan Baker | 2017-01-25 |
This is just more reorganization. |