Sybren A. Stüvel
03fa3f2d18
Drop support for Python 3.8
...
It is EOL and no longer supported by the Python foundation.
Also it is getting in the way of upgrading Sphinx.
2025-06-16 11:51:09 +02:00
Sybren A. Stüvel
e2b2e6fb68
Drop support for Python 3.7
...
Python 3.7 is EOL, no longer supported.
2023-11-02 15:05:31 +01:00
Sybren A. Stüvel
cd6732a407
Bump required Python to 3.7 for MyPy
2022-03-25 12:07:06 +01:00
Sybren A. Stüvel
2bf155a5f9
Update pytest for Python 3.10 compatibility
2022-02-03 17:48:41 +01:00
Sybren A. Stüvel
504d2aae0c
Test options: don't show logging output
...
The logging is sent to stdout already (which is captured and printed by
PyTest), so having PyTest also capture and print logging just doubles
the output.
No functional changes.
2020-03-17 16:48:30 +01:00
Sybren A. Stüvel
16521f5fc5
Removed logging options from setup.cfg again
...
The % symbols confuse setup.py when running 'setup.py sdist bdist_wheel',
and I couldn't quickly figure out how to escape those properly.
2018-11-27 15:59:43 +01:00
Sybren A. Stüvel
c1aaa3aab3
Add some log level configuration to py.test config
...
Not sure if we want a global DEBUG setting; if it becomes annoying, change it.
2018-11-27 14:29:37 +01:00
Sybren A. Stüvel
ef5c46eba5
Some mypy & test tweaks
2018-03-09 16:29:30 +01:00
Sybren A. Stüvel
fdbbc3a20d
Static type checking with mypy
...
This does introduce some not-so-nice things, like having to annotate each
`__init__` function with `-> None`. However, the benefits of having static
type checking in a complex bit of software like BAT outweigh the downsides.
2018-03-09 11:09:47 +01:00
Sybren A. Stüvel
03bf2ac69f
Added unit testing with py.test
2018-02-22 14:50:24 +01:00