| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
To stop PytestUnknownMarkWarning, this declares markers on setup.cfg
https://docs.pytest.org/en/latest/mark.html
|
| |
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
|
|
| |
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
|
| |\ |
|
| | | |
|
| |/
|
|
| |
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| |
|
|
|
| |
Since mypy-0.600, validations for Optional becomes very strict. It
interfere our development. So this disables it temporarily.
|
| | |
|
| |\
| |
| | |
Use flake8-import-order
|
| | |\ |
|
| | | | |
|
| | |/
|/|
| |
| |
| | |
It will be available on flake8-3.5.0+.
(see https://gitlab.com/pycqa/flake8/issues/379)
|
| |/
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Place configuration of the package itself first in the file, followed by
configuration of other tools.
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| |\ |
|
| | | |
|
| |\ \
| | |
| | | |
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
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
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/
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Less top-level files = winning [1].
[1] https://mypy.readthedocs.io/en/stable/config_file.html
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| |/
|
|
|
|
|
| |
We started ignoring this file from Git in commit 75154196b. Now do the
same for flake8.
Signed-off-by: Stephen Finucane <stephen@that.guru>
|
| | |
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| |/ |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|