49 Commits (5849979afaed8c8abd95cbe0226fe7bb97d6e62e)

Author SHA1 Message Date
Dylan Baker cb0b6352b5
mlog: put the module docstring at the top of the file 2 years ago
Dylan Baker 11fab771b1
mlog: use StringProtocol where we said we should 2 years ago
Dylan Baker ada2a976f0
mlog: use a hidden class for state 2 years ago
Dylan Baker 1e79553c36
mlog: remove out-of-date comment 2 years ago
Dylan Baker 73c054ced6
mlog: remove direct calls to log_once 2 years ago
Eli Schwartz a21af43200
micro-optimize: define typing-only objects in TYPE_CHECKING 2 years ago
Eli Schwartz 680b5ff819
treewide: add future annotations import 2 years ago
Eli Schwartz 7b0a590c1b
mlog: do not squelch console output for errors 2 years ago
Dylan Baker 7460ab20cd mlog: move code for printing code with a caret to the mlog module 2 years ago
Dylan Baker 900677cdb2 mlog: use an enum instead of strings 2 years ago
Dylan Baker d9dc5a7f74 mlog: Remove using of `**kwargs: T.Any` 2 years ago
Phil Jones 41ab2ef8af mlog: set LV environment variable for pager. 2 years ago
Phil Jones 8bfc29f91f mlog: set LESS environment variable for pager. 2 years ago
Xavier Claessens 05da4b087c mlog: Use less from git on Windows 2 years ago
Xavier Claessens bed5b31079 mlog: disable usage of global for log_pager 2 years ago
Dylan Baker f5283dd63f pylint: enable global-statement 2 years ago
Dylan Baker 3ef332e89a pylint: enable global-variable-not-assigned 2 years ago
Xavier Claessens 59d561d4c1 mlog: Add support for pager 2 years ago
Hemmo Nieminen a9e25f4765 mlog: add support for italic/emphasized text in AnsiText 3 years ago
Eli Schwartz a009eacc65
treewide: string-quote the first argument to T.cast 3 years ago
Eli Schwartz 812ad2e6d1
fix type annotations for mlog nesting 3 years ago
Eli Schwartz f4b91c4306 Revert "mark a couple of typing-only imports as noqa, to appease pyflakes" 3 years ago
Eli Schwartz 8947352889 fix various flake8 whitespace errors 3 years ago
Eli Schwartz b1f0eec38f
fix lgtm.com "Use of the return value of a procedure" 3 years ago
Paolo Bonzini 65b144bc85 Revert "mtest: fix test output issues (in console)" 3 years ago
Hemmo Nieminen 5fcb0e6525 mtest: fix test output issues (in console) 3 years ago
Dylan Baker 9bca4a4b94 mlog: fix annotation 3 years ago
Eli Schwartz 6cc1b8441c
mark a couple of typing-only imports as noqa, to appease pyflakes 3 years ago
Paolo Bonzini 516c871bec summary: fix dependencies 3 years ago
Daniel Mensinger 3e396b3782
fix: Always explicitly set encoding for text files (fixes #8263) 3 years ago
Daniel Mensinger 27bb5f536a typing: mlog use StringProtocol 4 years ago
Daniel Mensinger f502a38d1c typing: mlog: Simplify some typing with a TV_ variables 4 years ago
Xavier Claessens 8cd4d0b283 mlog: Do not print 'subproject|' for the message 'Executing subproject' 4 years ago
Xavier Claessens 60c2c25d5b mlog: Do not print 'subproject|' on empty lines 4 years ago
Xavier Claessens b33e7bca73 mlog: Add a space after 'subproject|' 4 years ago
Xavier Claessens 3c1ccb923f logs: Prepend current subproject name to all messages 4 years ago
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere 4 years ago
Eli Schwartz 4340bf34fa
various python neatness cleanups 4 years ago
Paolo Bonzini adb1b2f3f6 interpreter: accept external programs and dependencies for summary 4 years ago
Paolo Bonzini 021068a8b7 mlog: add __len__ to AnsiDecorator 4 years ago
Paolo Bonzini 9ba7b0ebd0 mlog: add __str__ method to AnsiDecorator 4 years ago
Dylan Baker a9ff308d27 mlog: make mlog helper take once keyword argument 4 years ago
Dylan Baker f6672c7a19 use real pathlib module 4 years ago
Paolo Bonzini f1ce78d77f mtest: cleanup and fix print_stats 4 years ago
Daniel Mensinger 1dfaccfd91 pathlib: Fix resolve() by overriding it in Python 3.5 4 years ago
Daniel Mensinger ce042f318e
typing: Add run_mypy.py for easier mypy invocation 4 years ago
Nirbheek Chauhan 4ad4565ddd Add a notice about Python 3.5 support 4 years ago
Nirbheek Chauhan 40319c9634 Don't make unactionable warnings fatal 4 years ago
Dylan Baker 29ef4478df compilers/d: Add b_ndebug support 5 years ago
Jon Turney f107f9b396
Make colourize_console() a function 5 years ago