Commit Graph

89 Commits

Author SHA1 Message Date
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
Takeshi KOMIYA
50f9c5cc38 Update packaging script (refs: #3256) 2016-12-19 12:29:58 +09:00
Takeshi KOMIYA
e645ea59db Merge branch 'stable' 2016-12-14 00:12:23 +09:00
Takeshi KOMIYA
3a60eb984b Remove .mypy_cache on make clean 2016-12-13 23:59:01 +09:00
Takeshi KOMIYA
db732ac0b8 Prepare to type-check using mypy 2016-11-16 12:05:44 +09:00
Takeshi KOMIYA
e8d5650adf Merge branch 'stable' 2016-10-02 00:44:49 +09:00
Takeshi KOMIYA
502874bcc4 Fix "make clean" does not remove build/ directory 2016-10-02 00:25:58 +09:00
Takeshi KOMIYA
184bedef4b Merge branch 'stable' 2016-08-20 18:06:33 +09:00
Takeshi KOMIYA
be2637f7ff Add testfiles to DONT_CHECK target 2016-08-20 17:57:08 +09:00
Takeshi KOMIYA
9e9eeaaf84 Remove env from DONT_CHECK (ref: #2760) 2016-07-16 00:47:19 +09:00
Takeshi KOMIYA
0e9938fa4f Update skiplist of style-checker 2016-07-15 10:52:16 +09:00
Takeshi KOMIYA
ae0fab15d3 Clear __pycache__, tests/build and .tox on make clean 2016-05-30 23:44:49 +09:00
Jakob Lykke Andersen
bd354f653c Exclude stuff from style-check 2015-11-29 15:25:10 +01:00
Alberto Berti
795887e044 Conditionally enable py3.5 tests in travis 2015-11-10 04:09:05 +01:00