Takeshi KOMIYA
3e57ea0a52
Merge branch '1.7'
2018-07-17 00:37:40 +09:00
Takeshi KOMIYA
2bdbe3aaf4
Fix flake8 violations
2018-07-16 21:03:32 +09:00
Stephen Finucane
d9ccc95717
doc: Add "extensions" to usage guide
...
Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-06-20 09:30:47 +01:00
Takeshi KOMIYA
656f80cca9
mypy: add --no-strict-optional
...
Since mypy-0.600, validations for Optional becomes very strict. It
interfere our development. So this disables it temporarily.
2018-05-03 10:26:59 +09:00
Dmitry Shachnev
16d4e00043
Remove sphinx.pycode.pgen2 from flake8 exclude
2018-03-01 18:33:42 +03:00
Takeshi KOMIYA
4344fa149c
Merge pull request #4505 from tk0miya/use_flake8-import-order
...
Use flake8-import-order
2018-01-29 22:13:48 +09:00
Takeshi KOMIYA
6926a3ed91
Merge branch '1.7-release' into use_flake8-import-order
2018-01-28 19:03:31 +09:00
Takeshi KOMIYA
41d99d3627
Give local-plugins.paths option to flake8
...
It will be available on flake8-3.5.0+.
(see https://gitlab.com/pycqa/flake8/issues/379 )
2018-01-28 15:22:11 +09:00
Takeshi KOMIYA
9f5c676322
Use flake8-import-order
2018-01-28 01:52:16 +09:00
Stephen Finucane
f3074d1747
setup: Configure flake8 extension as a local plugin
...
We don't want to install this as a system plugin. Now that flake8 3.5.0
is in the wild, we can use this.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Fixes : #4492
2018-01-26 09:41:50 +00:00
Takeshi KOMIYA
3736768a59
test: Reduce DeprecationWarning on testing (from docutils)
2018-01-06 15:56:37 +09:00
Stephen Finucane
a3f9935d95
travis: Enable codecov coverage
...
This necessitates adding some basic coverage-py configuration [1] and
making sure the pytest-cov plugin uses said configuration [2]. Badges
are included.
Note that we do not run the 'coverage' tox target, which is reserved for
users.
[1] https://github.com/codecov/example-python
[2] https://bitbucket.org/ned/coveragepy/issues/512/
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-24 21:24:41 +00:00
Stephen Finucane
f74b6756ac
setup.cfg: Restructure file
...
Place configuration of the package itself first in the file, followed by
configuration of other tools.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-12-19 12:06:16 +00:00
Takeshi KOMIYA
e3baf213f5
Merge branch 'stable'
2017-10-23 23:04:32 +09:00
Takeshi KOMIYA
47c869c89a
Fix flake8 and style-check violations
2017-10-23 23:01:18 +09:00
Takeshi KOMIYA
c39459ea7a
Merge pull request #4155 from jdufresne/wheel-license
...
Include license file in the generated wheel package
2017-10-16 14:07:00 +09:00
Jon Dufresne
c53dc54a30
Include license file in the generated wheel package
...
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:
https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
2017-10-15 19:40:10 -07:00
Jon Dufresne
327e6f27fb
Rename [wheel] section to [bdist_wheel] as the former is legacy
...
For additional details, see:
54ddbcc9ce/wheel/bdist_wheel.py (bdist_wheel.py-119)
:125
http://pythonwheels.com/
2017-10-15 19:33:10 -07:00
Stephen Finucane
f5c0d64658
utils: Move "header check" to a flake8 plugin
...
If we want to check style, we run 'tox -e flake8': it shouldn't be
necessary to run some obscure 'make' command too. Make this possible by
moving the sole useful test from the target of this make command to a
flake8 plugin.
This includes a fix for a header that was previously excluded from
checks, but is now included.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-05 17:17:27 +01:00
Stephen Finucane
8f1905c4ae
mypy: Make output a little friendlier
...
Two default-disabled options are enabled:
- show_column_numbers - Shows context notes before errors
- show_error_context - Shows column numbers in error messages
This should make the output of mypy a little easier to parse.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-05 16:01:21 +01:00
Stephen Finucane
017f124be5
mypy: Move configuration to 'setup.cfg'
...
Less top-level files = winning [1].
[1] https://mypy.readthedocs.io/en/stable/config_file.html
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-05 09:29:40 +01:00
Stephen Finucane
5e1af8df77
setup.cfg: Ignore .venv
...
We started ignoring this file from Git in commit 75154196b
. Now do the
same for flake8.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-09-26 15:43:45 +01:00
Takeshi KOMIYA
41bb5f7fd2
Fix #3833 : command line messages are translated unintentionally
2017-06-25 17:55:54 +09:00
Takeshi KOMIYA
f1a3e45878
Update setup.cfg
2017-05-09 23:40:29 +09:00
Takeshi KOMIYA
56d3458584
Fix flake8 violations
2017-05-09 21:57:36 +09:00
Takeshi KOMIYA
fc41f43a70
Merge branch 'stable'
2017-04-02 19:05:50 +09:00
Takeshi KOMIYA
f730297187
egg_info: drop --no-svn-revision option because it has been deprecated
2017-04-02 18:58:22 +09:00
Stephen Finucane
6de6e81b0c
setup.cfg: Enable 'warning-is-error'
...
Dog food this feature. Validated with the following (broken) change:
--- a/doc/contents.rst
+++ b/doc/contents.rst
@@ -18,6 +18,9 @@ Sphinx documentation contents
intl
theming
setuptools
+
+ .. This is broken!!!
+
templating
latex
markdown
Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-02-24 13:41:46 -05:00
Takeshi KOMIYA
cf2061dfad
Fix flake8 violations
2017-01-26 01:13:17 +09:00
Takeshi KOMIYA
c03da8fdf4
Merge branch 'stable' into 3256_update_release_script
2017-01-14 00:26:03 +09:00
Takeshi KOMIYA
7dcb40d135
Update flake8 rules
2017-01-12 10:11:54 +09:00
Takeshi KOMIYA
412bb9aae8
Fix flake8 violations
2017-01-12 10:09:44 +09:00
Takeshi KOMIYA
60d4846e0f
Fix flake8 violations
2017-01-12 10:07:05 +09:00
Takeshi KOMIYA
ed6742fe2a
Merge branch 'stable' into 3256_update_release_script
2017-01-06 23:44:10 +09:00
Takeshi KOMIYA
c7783e632f
Update setup.cfg (refs: #3264 )
2016-12-24 22:13:10 +09:00
Takeshi KOMIYA
2588a45a22
Update setup.cfg
2016-12-24 21:07:02 +09:00
Takeshi KOMIYA
b208b3e9e0
Skip flake8 for sample python codes for napoleon docs
2016-07-26 14:35:20 +09:00
Takeshi KOMIYA
80921b2ab8
Fix flake8 violation under tests/
2016-06-12 00:02:11 +09:00
Takeshi KOMIYA
2483122c2f
Fix flake8 violation (utils/reindent.py)
2016-06-12 00:02:11 +09:00
Takeshi KOMIYA
7ab5bed4be
Remove ez_setup.py from flake8-exclude list
2016-06-12 00:02:11 +09:00
shimizukawa
ea25342acc
Support PEP-440 version spec for developers.
2015-03-14 16:46:24 +09:00
Georg Brandl
0d5cb25c0d
flake8: fix a problem, add differing warning #
2015-03-08 17:17:22 +01:00
Georg Brandl
548a6dc22e
final pep8 fixes; reactivate most warnings in flake8
2015-03-08 17:15:54 +01:00
shimizukawa
dc17c0be0a
disable flake8 E112 and E113, for a while.
2015-03-08 15:14:06 +09:00
shimizukawa
c6865fd3ae
enables flake8 E625, E901, E902, F821 that didn't emit errors
2015-03-07 21:03:09 +09:00
shimizukawa
5e84a5dbf4
enables flake8 E401: multiple imports on one line
2015-03-07 20:51:27 +09:00
shimizukawa
3b6524067f
enables flake8 E501 line too long, E502 the backslash is redundant between brackets
2015-03-07 20:51:25 +09:00
shimizukawa
caed7faa19
add flake8 testing
2015-03-07 17:59:28 +09:00
Takayuki Shimizukawa
6261c8b68d
Use universal wheel package. removing build directory procedure is not needed anymore.
2014-10-10 00:01:57 +09:00
Georg Brandl
5aaf533a39
Add setup.py "upload" alias for automatic package signing.
2013-02-05 09:19:52 +01:00