Commit graph

36 commits

Author SHA1 Message Date
David Lord
99b34f7148
move and update flake8 config 2023-01-20 13:42:50 -08:00
David Lord
8e3128b989
ignore flake8 b905 zip(strict=True) until python 3.10 2022-12-24 10:22:37 -07:00
David Lord
48766754b8
add typing tests to mypy config 2022-06-05 15:49:41 -07:00
David Lord
1232d69860
inline conditional imports for cli behaviors 2022-05-23 09:46:20 -07:00
David Lord
d03df1fff3
Merge branch '2.0.x' 2022-01-13 14:43:23 -08:00
David Lord
66f2ac6696
update tool config 2022-01-13 14:42:36 -08:00
David Lord
e609dddd60
drop Python 3.6 2021-11-11 16:11:43 -08:00
Grey Li
9fa8b0f7ad Fix typing import issues 2021-07-01 18:43:35 +08:00
pgjones
f405c6f19e Initial typing support
This enables type checking in CI and marks the project as typed.
2021-04-26 17:20:24 +01:00
David Lord
0c7cbe2d11
move version to setup.cfg 2021-02-24 10:09:50 -08:00
David Lord
3cd615a1d6
update project links 2021-02-24 10:09:15 -08:00
David Lord
634e901966
update metadata 2020-07-01 09:09:12 -07:00
David Lord
024f0d384c
move package metadata to setup.cfg 2020-04-04 14:50:21 -07:00
David Lord
524fd0bc8c
apply pyupgrade 2020-04-04 12:10:00 -07:00
David Lord
a0a61acdec
drop support for Python 2.7 and 3.5 2020-04-04 12:09:55 -07:00
Jeff Widman
9311a823a7
Remove deprecated license_file option
Starting with wheel 0.32.0 (2018-09-29), the `license_file` option is
deprecated in favor of `license_files`.

https://wheel.readthedocs.io/en/stable/news.html

The wheel will continue to include `LICENSE`, it is now included
automatically:

https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file

See https://github.com/FactoryBoy/factory_boy/pull/696 for inspiration and more discussion.
2020-03-02 10:21:15 -08:00
David Lord
1351d0a565
Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord
24498afed5
standardize project metadata 2019-06-22 13:10:50 -07:00
David Lord
ca278a8694
move to src directory 2019-06-01 08:06:16 -07:00
Jon S. Stumpf
b46f5942a5
address flake8 issues 2019-06-01 06:31:35 -07:00
Jon S. Stumpf
549fed29ea
add pre-commit config for flake8 2019-06-01 09:13:46 -04:00
David Lord
3a0ea726bd
move coveragerc to setup.cfg 2018-04-12 12:37:35 -07:00
David Lord
9bf5c3b3a3
update project metadata
new readme
readme as setup.py long_description
links in changes
git in authors
add travis osx env
break out docs build in travis
remove python_requires for now
2018-02-08 12:43:22 -08:00
David Lord
65b22926f7
reduce number of tox and travis envs
bump minimum werkzeug version to fix tests
cache pip pacakges on travis
collect branch coverage
collect coverage of test code
report coverage across envs
test building docs
enable codecov integration
2017-05-24 15:41:35 -07:00
Jeff Widman
5efb163237 bdist_wheel replaces wheel (#2179)
https://packaging.python.org/distributing/#universal-wheels
2017-02-10 12:19:59 +01:00
Markus Unterwaditzer
89798ea7dd Remove examples dir again 2017-02-09 18:35:21 +01:00
vojtekb
95db82f8f7 py.test => pytest (#2173)
py.test => pytest
2017-02-09 18:34:16 +01:00
Markus Unterwaditzer
a4ed3d2806 Use tox from make test 2016-11-02 17:56:59 +01:00
Philippe Ombredanne
11809bf1d2 Add license_file to setup.cfg metadata (#2024)
Without this, the LICENSE file is never included in the built wheels: this makes it harder for users to comply with the license.
With this addition a file LICENSE.txt will be created in the `xxx.dist-info` directory with the content of the `license_file` file, e.g. the top level LICENSE.
2016-11-01 13:11:53 -07:00
Andrew Arendt
c54c538c11 fixed deprecated syntax in setup.cfg (#2015) 2016-09-08 19:24:07 +02:00
Kyle Lawlor
5f009374fd Update minitwit & improve testing for examples (#1954)
* Update minitwit & improve testing for examples

* Related to #1945
* Re-works minitwit to be installed and run as:

    pip install --editable .
    export FLASK_APP=minitwit.minitwit
    export FLASK_DEBUG=1
    flask initdb
    flask run

* added flaskr and minitwit to norecursedirs
  * tests not properly run when using pytest standards
  * see: http://stackoverflow.com/questions/38313171/configuring-pytest-with-installable-examples-in-a-project
* Both flaskr and minitwit now follow pytest standards.
* Tests can for them as `py.test` or `python setup.py test`

* Update minitwit readme

* updates the instructions for running

* Fixes for updating the minitwit example

- This reverts the changes to the *docs/* (I will file separate PR).
- Running the app is now: `export FLASK_APP=minitwit` & `flask run`
  (After installing the app)

* Remove unnecessary comma from flaskr/setup.py
2016-08-22 20:52:54 +02:00
ThiefMaster
ce471ca17c Configure pytest's norecursedirs
This skips directories which don't contain unittests and also
virtualenvs (in folders named env*, which is already in gitignore)
as we don't want to execute any tests in there
2015-03-08 13:45:51 +01:00
Armin Ronacher
0ce3db88cf Remove date tagging. 2014-08-27 01:08:18 +02:00
Matt Iversen
b0bb6c7f3d Release as universal python wheel (2/3 compat) 2014-01-11 11:31:22 +11:00
Armin Ronacher
3c1d7758d5 Removed dev tag from setup.cfg. Fixes #596 2012-10-07 15:58:21 +02:00
Armin Ronacher
b0ab127015 Added logo with new slogan 2010-05-12 01:29:25 +02:00