Commit graph

71 commits

Author SHA1 Message Date
David Baumgold
025589ee76 Reformat with black
https://github.com/python/black
2019-05-06 16:28:58 -04: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
213afec771
add rst extension for changelog
fix changelog version
2018-01-23 15:34:52 -08:00
David Lord
e0cd80c6bf
remove old upgrade script 2017-06-26 09:22:03 -07:00
David Lord
715a9a3e7b
remove deprecated flask.ext 2017-06-26 08:47:28 -07:00
Static
f5adb61b28 Fix typos/grammar in docs (#2201) 2017-03-06 14:05:59 +01:00
Frédéric Chapoton
e4c712ffd2 a few more python3-compatible print (#1840) 2016-05-31 21:20:22 +02:00
Armin Ronacher
1eccb62965 Do not bump version in setup.py 2016-05-29 11:02:18 +02:00
Frédéric Chapoton
c810fae9e8 turn 2 prints to py2/py3 compatible syntax (#1812) 2016-05-20 12:57:10 -07:00
Keyan Pishdadian
1a877fbaa0 Remove extmigrate from Flask repo
* Remove extmigrate from Flask repo

* Update docs to reflect new repo location
2016-04-04 23:19:10 +02:00
Matt Robenolt
ce06240851 Run bdist_wheel as a part of release process
The setup.cfg declares the ability to compile a wheel, but release process isn't actually compiling a wheel.
2016-03-27 10:36:57 -07:00
Redian Ibra
96f7b07caf Skip test if redbaron is not installed 2015-11-26 22:11:34 +00:00
Matthias Bussonnier
2de525c720 importlib deprecated in 3.5.
Replace the use of importlib by types.ModuleType that seem to be
available since at least 2.6

closes gh-1449
2015-05-02 10:54:38 -07:00
Keyan Pishdadian
f6c45afb6f Add skip to fix unnoticed bug with good imports
Fixes logic so that imports that should not be changed are skipped, which was not happening correctly before.
2015-02-25 19:48:29 -05:00
Keyan Pishdadian
6fa1889afb Update comments to reflect new functionality 2015-02-15 19:09:08 -05:00
Keyan Pishdadian
5f64971731 Update comments to reflect new functionality 2015-02-14 18:16:28 -05:00
Keyan Pishdadian
cd6ec40947 Add test and logic for attribute access calls 2015-02-13 18:40:41 -05:00
Keyan Pishdadian
77ed466101 Remove hardcoded 'foo' 2015-02-13 16:02:37 -05:00
Keyan Pishdadian
4cb311b945 Add support for function call fixing, add tests
Addresses #1135, some code cleanup and refactoring. Changes wrapper function which handles testing, further modularized code, added test to cover function call fixing, and fixed duplicate test function name.
2015-02-13 15:27:29 -05:00
Keyan Pishdadian
9cbe83ef0d Add a test and cover edge case with parens 2015-02-12 16:41:57 -05:00
Keyan Pishdadian
b759aa2b95 Add test for naming module and fix logic to cover 2015-02-12 11:58:38 -05:00
Keyan Pishdadian
37217e85b8 Fix issue with wrapper logic 2015-02-11 15:22:07 -05:00
Keyan Pishdadian
0cf5881312 Add tests, remove manual testing file #1135 2015-02-11 15:06:53 -05:00
Keyan Pishdadian
96d81c297a Change wrapper logic for testing 2015-02-11 14:53:39 -05:00
Keyan Pishdadian
4a9e34a574 Add wrapper for testing fixing functionality 2015-02-11 14:41:48 -05:00
Keyan Pishdadian
c90c4e5e8c Support "import flask.ext.foo" format
New commit supports the above import format, however it does not fix function calls elsewhere in the source. Perhaps there should be an error or simply alert the user through stdout().
2015-02-11 14:29:04 -05:00
Keyan Pishdadian
61d5e6a4d4 Cleanup 2015-02-11 13:29:50 -05:00
Keyan Pishdadian
8488a3afa9 Change parsing format to use AST via RedBaron
Moved away from using manual parsing. Source is parsed using RedBaron to make the FST. Some import formats not yet implemented, and still some bugs to work out. However, the current script works well for the two cases in the file comments.
2015-02-11 13:07:24 -05:00
Keyan Pishdadian
0b2556f3ec Add lib2to3 fixer base code
Switching to using RedBaron instead of lib2to3, committing to save lib2to3 code in case using Baron is not successful.
2015-02-10 11:23:16 -05:00
Keyan Pishdadian
9d64ff420f Early commit for issue #1135
Add support migrating single imports from the flask.ext style to flask_
2015-02-06 14:38:33 -05:00
Parkayun
33534bb4a9 Happy New Year 2015 2015-01-02 11:35:00 +09:00
Markus Unterwaditzer
97dc687793 Merge pull request #619 from QuentinRoy/master
Fix missing argument in find_module of flaskext_compat.py
2014-10-07 19:01:17 +02:00
Markus Unterwaditzer
8d97d71430 Metadata change 2014-09-11 22:09:51 +02:00
cgar
013d8ad3d9 minor spelling fixes 2014-09-09 20:12:38 -04:00
Armin Ronacher
817b72d484 Removed deprecated module functionality 2014-08-27 01:12:33 +02:00
Markus Unterwaditzer
54688b26a9 Fix when release date is not today
Also, some fixes for PyFlakes

Original commit by @dongweiming at
a05c403870
2014-04-05 11:39:31 +02:00
Daniel Neuhäuser
52098e1e4f Happy New Year 2014 2014-01-02 19:21:07 +01:00
Thomas Waldmann
e1d356fb71 ported some more stuff to py 3.3
removed init_jinja_globals hack from app.py after consulting mitsuhiko
(didn't work on py 3.3 "as is")

removed with_statement future imports, not needed any more

needs more work on 2.7 as well as on 3.3
2013-05-22 01:33:04 +02:00
Thomas Waldmann
40fad2ece8 document python 2.6 minimum requirement, remove all stuff that refers to 2.5 2013-05-18 17:06:25 +02:00
Quentin Roy
1e39871d68 Add back path=None argument into find_module. This fixes #618 and revert #524. 2012-10-20 18:21:48 +02:00
d1ffuz0r
8d330a368a fixed issue #524 2012-08-29 22:26:39 +04:00
Alex Vykalyuk
444698d42b Changed docstring according to docs. 2012-05-14 23:39:27 +03:00
Florent Xicluna
a2eb5efcd8 few typos 2012-04-12 19:14:52 +03:00
Armin Ronacher
95c4dcb4d5 Refactored flask.ext process to not swallow exceptions on weird Pythons. 2011-09-27 13:33:23 +02:00
Armin Ronacher
9691b7f0bf Deal with partially setup packages in the redirect hook. 2011-09-21 21:34:47 +02:00
Armin Ronacher
9a70e62b8d No longer swallow important import errors.
This implements a simple but elegant method to find out if an import
error can be swallowed to try the next module or if the import error is
important and must be reraised.
2011-09-21 03:47:36 +02:00
Armin Ronacher
7997bae5bb Explicitly activate compat module 2011-09-19 21:00:28 +02:00
Armin Ronacher
e94416704d Added the flaskext_compat module to support flask.ext in 0.7 and earlier. 2011-09-18 15:03:35 +02:00
Armin Ronacher
4cb6eea8f1 Split up testsuite and moved it to flask.testsuite. This fixes #246 2011-08-26 11:21:26 +01:00
Armin Ronacher
505cd663cd Hopefully fixed release script date parsing thingy. This fixes #299 2011-08-08 01:26:39 +02:00