summaryrefslogtreecommitdiff
path: root/setup.cfg
Commit message (Collapse)AuthorAgeFilesLines
* Remove "universal" configuration from setup.cfgJon Dufresne2019-06-191-3/+0
| | | | | | | | | | | | | | | Sphinx is Python-3-only and therefore is not a universal wheel. It should still distribute a 'py3' wheel, just not a universal one. From https://wheel.readthedocs.io/en/stable/user_guide.html > If your project contains no C extensions and is expected to work on > both Python 2 and 3, you will want to tell wheel to produce universal > wheels by adding this to your setup.cfg file: … As Sphinx doesn't work on Python 2, it should not be universal. Refs #6470
* test: declare pytest markersTakeshi KOMIYA2019-05-121-0/+5
| | | | | To stop PytestUnknownMarkWarning, this declares markers on setup.cfg https://docs.pytest.org/en/latest/mark.html
* Remove redundant mypy config 'incremental'Jon Dufresne2019-01-061-1/+0
| | | | | | | The mypy config 'incremental` has defaulted as true since version 0.590. Can drop the local override. For details, see: https://github.com/python/mypy/commit/6b13652a466ccb102987a2ab1fa93d4b52fd8e3f
* Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-1/+0
|
* test: Give filterwarnings=all by ini fileTakeshi KOMIYA2018-10-301-0/+1
| | | | | | | Since pytest-3.9, precedence order of warning options had been changed. This moves ``-W all`` option into setup.cfg. In detail, see https://github.com/pytest-dev/pytest/issues/3946
* Merge branch '1.7'Takeshi KOMIYA2018-07-171-1/+1
|\
| * Fix flake8 violationsTakeshi KOMIYA2018-07-161-1/+1
| |
* | doc: Add "extensions" to usage guideStephen Finucane2018-06-201-1/+1
|/ | | | Signed-off-by: Stephen Finucane <stephen@that.guru>
* mypy: add --no-strict-optionalTakeshi KOMIYA2018-05-031-0/+1
| | | | | Since mypy-0.600, validations for Optional becomes very strict. It interfere our development. So this disables it temporarily.
* Remove sphinx.pycode.pgen2 from flake8 excludeDmitry Shachnev2018-03-011-1/+1
|
* Merge pull request #4505 from tk0miya/use_flake8-import-orderTakeshi KOMIYA2018-01-291-1/+3
|\ | | | | Use flake8-import-order
| * Merge branch '1.7-release' into use_flake8-import-orderTakeshi KOMIYA2018-01-281-0/+4
| |\
| * | Use flake8-import-orderTakeshi KOMIYA2018-01-281-1/+3
| | |
* | | Give local-plugins.paths option to flake8Takeshi KOMIYA2018-01-281-0/+2
| |/ |/| | | | | | | It will be available on flake8-3.5.0+. (see https://gitlab.com/pycqa/flake8/issues/379)
* | setup: Configure flake8 extension as a local pluginStephen Finucane2018-01-261-0/+4
|/ | | | | | | | 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
* test: Reduce DeprecationWarning on testing (from docutils)Takeshi KOMIYA2018-01-061-0/+4
|
* travis: Enable codecov coverageStephen Finucane2017-12-241-0/+14
| | | | | | | | | | | | | | 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>
* setup.cfg: Restructure fileStephen Finucane2017-12-191-9/+9
| | | | | | | Place configuration of the package itself first in the file, followed by configuration of other tools. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Merge branch 'stable'Takeshi KOMIYA2017-10-231-1/+1
|\
| * Fix flake8 and style-check violationsTakeshi KOMIYA2017-10-231-1/+1
| |
* | Merge pull request #4155 from jdufresne/wheel-licenseTakeshi KOMIYA2017-10-161-0/+3
|\ \ | | | | | | Include license file in the generated wheel package
| * | Include license file in the generated wheel packageJon Dufresne2017-10-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Rename [wheel] section to [bdist_wheel] as the former is legacyJon Dufresne2017-10-151-1/+1
|/ / | | | | | | | | | | | | | | For additional details, see: https://bitbucket.org/pypa/wheel/src/54ddbcc9cec25e1f4d111a142b8bfaa163130a61/wheel/bdist_wheel.py?fileviewer=file-view-default#bdist_wheel.py-119:125 http://pythonwheels.com/
* | utils: Move "header check" to a flake8 pluginStephen Finucane2017-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | mypy: Make output a little friendlierStephen Finucane2017-10-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* | mypy: Move configuration to 'setup.cfg'Stephen Finucane2017-10-051-0/+8
| | | | | | | | | | | | | | | | Less top-level files = winning [1]. [1] https://mypy.readthedocs.io/en/stable/config_file.html Signed-off-by: Stephen Finucane <stephen@that.guru>
* | setup.cfg: Ignore .venvStephen Finucane2017-09-261-1/+1
|/ | | | | | | We started ignoring this file from Git in commit 75154196b. Now do the same for flake8. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Fix #3833: command line messages are translated unintentionallyTakeshi KOMIYA2017-06-251-1/+1
|
* Update setup.cfgTakeshi KOMIYA2017-05-091-1/+1
|
* Fix flake8 violationsTakeshi KOMIYA2017-05-091-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-04-021-1/+1
|\
| * egg_info: drop --no-svn-revision option because it has been deprecatedv1.5.4Takeshi KOMIYA2017-04-021-1/+1
| |
* | setup.cfg: Enable 'warning-is-error'Stephen Finucane2017-02-241-0/+3
|/ | | | | | | | | | | | | | | | | | | 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>
* Fix flake8 violationsTakeshi KOMIYA2017-01-261-1/+1
|
* Merge branch 'stable' into 3256_update_release_scriptTakeshi KOMIYA2017-01-141-1/+1
|\
| * Update flake8 rulesTakeshi KOMIYA2017-01-121-1/+1
| |
| * Fix flake8 violationsTakeshi KOMIYA2017-01-121-1/+1
| |
| * Fix flake8 violationsTakeshi KOMIYA2017-01-121-1/+1
| |
* | Merge branch 'stable' into 3256_update_release_scriptTakeshi KOMIYA2017-01-061-1/+1
|\ \ | |/
| * Update setup.cfg (refs: #3264)Takeshi KOMIYA2016-12-241-3/+3
| |
* | Update setup.cfgTakeshi KOMIYA2016-12-241-3/+3
|/
* Skip flake8 for sample python codes for napoleon docsTakeshi KOMIYA2016-07-261-1/+1
|
* Fix flake8 violation under tests/Takeshi KOMIYA2016-06-121-1/+1
|
* Fix flake8 violation (utils/reindent.py)Takeshi KOMIYA2016-06-121-1/+1
|
* Remove ez_setup.py from flake8-exclude listTakeshi KOMIYA2016-06-121-1/+1
|
* Support PEP-440 version spec for developers.shimizukawa2015-03-141-1/+1
|
* flake8: fix a problem, add differing warning #Georg Brandl2015-03-081-1/+1
|
* final pep8 fixes; reactivate most warnings in flake8Georg Brandl2015-03-081-3/+3
|
* disable flake8 E112 and E113, for a while.shimizukawa2015-03-081-1/+1
|
* enables flake8 E625, E901, E902, F821 that didn't emit errorsshimizukawa2015-03-071-1/+1
|