Adam Turner
bec014cf7e
Cease using flake8 ( #13204 )
2025-01-02 21:01:20 +00:00
Bénédikt Tran
f44ff30673
[doc] cleanup references and update external URLs ( #12182 )
2024-03-25 11:39:05 +01:00
Chris Sewell
b45fee696f
🔧 Sync make doclinter with CI check ( #12156 )
...
Unignore files in `make doclinter` command, fix the resulting issues, and use this command in the CI job
2024-03-21 13:12:06 +01:00
Chris Sewell
d8cf71cbde
🔧 Setup ruff format (initially excluding all files) ( #12136 )
...
Co-authored-by: danieleades <33452915+danieleades@users.noreply.github.com >
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com >
2024-03-19 10:27:41 +01:00
Chris Sewell
3f3d3d8517
🔧 Add flake8 to make style-check ( #12137 )
2024-03-19 10:07:41 +01:00
Chris Sewell
a27f156e31
🔧 Add check rule to Makefile ( #12135 )
...
To run all linting/type-checking, just for dev ease
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com >
2024-03-19 09:34:34 +01:00
Bénédikt Tran
b2069fb64f
[lint] update Makefile and lint doc ( #12117 )
2024-03-17 14:45:56 +01:00
Adam Turner
fa29004951
Bump Ruff to 0.1.14 and remove flake8-simplify ( #11906 )
...
Authored-by: Daniel Eades <danieleades@hotmail.com >
Co-authored-by: Daniel Eades <danieleades@hotmail.com >
2024-01-21 20:42:23 +00:00
Adam Turner
655bd15749
Adorn top-level files with a '.rst' suffix
2023-09-14 11:08:17 +01:00
Adam Turner
00eeea3d9b
Simplify `make clean`
2023-05-13 01:17:35 +01:00
Adam Turner
b347657809
Use declarative metadata
...
- Move to pyproject.toml metadata
- Update references to `setup.py`
- Use pypa/build
- Update workflows and tooling
2022-09-13 10:31:27 +01:00
Julien Palard
956cddb7d4
Replace doclinter with sphinx-lint ( #10389 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com >
2022-06-16 19:32:09 +01:00
Adam Turner
26c5c40b50
Enable the opt-in EncodingWarning
...
https://docs.python.org/3/library/io.html#io-encoding-warning
2022-04-16 19:30:45 +01:00
François Freitag
22a4ed531c
Run tests with Python Development mode
...
Helps catching more issues with the test suite.
https://docs.python.org/3/library/devmode.html#devmode
2020-11-11 14:20:18 +01:00
Takeshi KOMIYA
6cf1301c9e
Remove pylint task
...
At present, pylint has no longer been used in this project. This
removes the tasks and files for pylint from repository.
2020-08-10 13:20:06 +09:00
Harrissou Sant-anna
9cf95615d0
Fix sentence
2020-06-30 03:06:11 +02:00
Takeshi KOMIYA
cee35ef25b
Makefile: Fix "make clean-mypyfiles"
2020-04-11 00:15:46 +09:00
Takeshi KOMIYA
d09dce974e
Fix typo
2020-03-28 21:54:26 +09:00
Takeshi KOMIYA
5ba69ad837
Fix #7225 : release package contains .mypy_cache directory
2020-03-28 21:53:46 +09:00
Takeshi KOMIYA
5572eb7b9e
Makefile: clean dists directory on "make clean"
2020-02-23 16:36:38 +09:00
Takeshi KOMIYA
984d2f4b22
Makefile: Add doclinter target
2019-05-30 01:07:04 +09:00
Takeshi KOMIYA
83e4107a30
Fix Makefile (remove debug code...)
2018-11-28 02:02:53 +09:00
Takeshi KOMIYA
670c8a6173
Fix annotations for writers
2018-11-28 00:54:53 +09:00
Stephen Finucane
2a4827af4f
make: Default to Python 3
...
As with the tox change, it makes sense to test things against Python 3
by default now, seeing as that will be the only version supported in
Sphinx 2.0.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2018-06-21 15:11:35 +01:00
Stephen Finucane
c8d1db72a8
make: Group test commands together
...
We may want to eventually deprecate these in favour of 'tox', but this
cleans things up a little until then.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2018-02-12 11:52:53 +00:00
Stephen Finucane
690714f4c4
make: Remove deprecated targets
...
These have been deprecated for a while and can now be removed.
Some indentation is also fixed, while we're at it.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2018-02-12 11:52:53 +00:00
Stephen Finucane
7c0723fd46
tests: Remove 'tests/run.py'
...
This is no longer necessary. One test needs to be modified to deal with
how 'python -m pytest' modifies the PATH.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2017-12-29 13:02:31 +00:00
Stephen Finucane
e243e82723
tests: Ignore tests using 'collect_ignore'
...
Per the pytest docs [1], this is the preferred way to ignore tests. This
necessitates removing the 'test-async' target as it no longer makes any
sense.
[1] https://docs.pytest.org/en/latest/example/pythoncollection.html
Signed-off-by: Stephen Finucane <stephen@that.guru >
2017-12-18 20:10:18 +00:00
Takeshi KOMIYA
5de42c4c50
Merge pull request #4121 from stephenfin/remove-check-indent
...
utils: Remove the 'reindent' tool
2017-10-21 18:17:47 +09:00
Takeshi KOMIYA
36300dcb18
Merge branch 'master' into tests
2017-10-10 19:55:46 +09:00
Frank Sachsenheim
b2959a91c5
Makefile: Adds a target to build docs from the root dir.
2017-10-09 22:37:27 +02:00
Frank Sachsenheim
26796f6985
Makefile: Makes PHONY statements more maintainable.
2017-10-09 22:14:51 +02:00
Stephen Finucane
160e27e20f
utils: Remove 'check_sources'
...
There are still a couple of checks here but all of them can be removed
now:
- Check if using valid Python syntax
- Check if line length too long
- Check if using 'x == None/True/False'
- Check if using old HTML 3 tags
The first three are already handled by default by the 'flake8' tool. The
last one isn't replaced by anything, but it really isn't worth worrying
about now because the tags it checks for have been dead for a really
long time and would not be used by anyone writing HTML in the last 10
years. Combined, it means we can remove the entire file.
The 'style-check' target is updated to simply alias 'flake8'. It can be
removed in a future release. This allows us to stop using this target in
the Travis jobs, seeing as we already run flake8.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2017-10-05 17:17:27 +01:00
Stephen Finucane
b90e58809f
utils: Remove the 'reindent' tool
...
Nobody seems to be using this, probably because of the 'flake8' target,
and it hasn't been touched, some Python/flake8 updates aside in years.
Just remove it.
The Make target is not removed to both give us time to warn users that
the target is gone and, more importantly, to prevent merge conflicts
with other patches being submitted at the same time.
Signed-off-by: Stephen Finucane <stephen@that.guru >
2017-10-05 17:13:59 +01:00
Takeshi KOMIYA
e3d14e7862
Merge branch 'stable' into 1.6-release
2017-04-25 00:40:04 +09:00
Takeshi KOMIYA
a9256bfa70
Remove Sphinx.egg-info on make clean
2017-04-06 09:41:49 +09:00
Takeshi KOMIYA
fc9a02af3c
Merge pull request #3416 from tk0miya/refactor_literalinclude
...
Refactor literalinclude
2017-02-25 17:10:57 +09:00
Takeshi KOMIYA
4941148c5d
Merge branch 'stable'
2017-02-25 14:47:34 +09:00
Takeshi KOMIYA
341986c03a
Fix #3453 : remove doc/_build/ forcely on make clean on Sphinx repos
2017-02-25 14:45:49 +09:00
Takeshi KOMIYA
d1b5f7227d
Merge branch 'master' into refactor_literalinclude
2017-02-17 23:37:35 +09:00
Takeshi KOMIYA
e1da72b59c
Reduce DeprecationWarnings for regexp
2017-02-17 02:01:04 +09:00
Takeshi KOMIYA
2f3a3d8cc2
Update DONT_CHECK list
2017-02-13 02:08:47 +09:00
Takeshi KOMIYA
e6cd347f6c
Merge branch 'stable'
2017-01-16 01:31:57 +09:00
Takeshi KOMIYA
c03da8fdf4
Merge branch 'stable' into 3256_update_release_script
2017-01-14 00:26:03 +09:00
Takeshi KOMIYA
8cbe1efe8d
Merge branch 'stable'
2017-01-10 01:04:21 +09:00
shimizukawa
561abdd164
pytest optimizatoin:
...
- remote using deprecated decorators
- remove gen_with_app
- remove yield testing
- remove pytest warnings
- refactoring
2017-01-08 15:14:38 +09:00
Takeshi KOMIYA
612e4d65d7
Merge branch 'stable'
2017-01-08 01:45:40 +09:00
Takeshi KOMIYA
f1d2a7ffaa
Ignore .cache/
2017-01-07 20:37:01 +09:00
shimizukawa
4c22cd10ca
Merge branch 'stable'
2017-01-07 02:14:29 +09:00
shimizukawa
5b7d237db3
pytest migration
2017-01-04 00:59:30 +09:00