contrib/check-code.py
Mon, 21 Feb 2022 13:08:28 -0700 Gregory Szorc py3: use class X: instead of class X(object):
Mon, 21 Feb 2022 13:03:43 -0700 Gregory Szorc check-code: remove ban on old-style classes
Mon, 21 Feb 2022 10:56:31 -0700 Gregory Szorc check-code: allow importing Python 3 modules
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
Tue, 01 Mar 2022 20:29:03 -0800 Gregory Szorc py3: use pickle directly
Fri, 17 Sep 2021 21:04:17 +0200 Pierre-Yves David check-code: make it possible to ignore the PWD check in some situation stable
Thu, 19 Aug 2021 18:04:14 +0200 Pierre-Yves David check-code: drop the camelcase checks stable
Sat, 10 Jul 2021 13:46:35 +0200 Pierre-Yves David check-code: add a rules to catch os.path.abspath
Tue, 06 Jul 2021 12:42:32 +0200 Pierre-Yves David check-code: stop forbidding return code result
Thu, 25 Mar 2021 18:02:08 +0100 Raphaël Gomès contributor: change mentions of mpm to olivia
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Fri, 06 Nov 2020 13:58:59 -0800 Gregory Szorc global: use python3 in shebangs
Thu, 07 Nov 2019 13:18:19 -0500 Augie Fackler cleanup: remove pointless r-prefixes on double-quoted strings
Fri, 02 Feb 2018 10:13:42 -0800 Gregory Szorc check-commit: allow foo_bar naming in functions
Sun, 06 Oct 2019 10:20:17 -0400 Augie Fackler contrib: fix check-code to be able to detect missing _() with bytestrings
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Sat, 05 Oct 2019 10:49:24 -0400 Augie Fackler contrib: stop whining about whitespace around =
Sat, 05 Oct 2019 10:48:10 -0400 Augie Fackler contrib: black manages whitespace after Python keywords now
Sat, 05 Oct 2019 10:47:28 -0400 Augie Fackler contrib: allow trailing commas in lists
Sat, 05 Oct 2019 10:46:46 -0400 Augie Fackler contrib: remove check-code line length limit
Fri, 06 Sep 2019 23:26:30 -0700 Martin von Zweigbergk check-code: allow command substitution with $(command)
Fri, 01 Mar 2019 02:53:09 +0900 FUJIWARA Katsunori contrib: make check-code.py check code fragments embedded in test scripts
Fri, 01 Mar 2019 02:53:09 +0900 FUJIWARA Katsunori contrib: add line offset information to file check function of check-code.py
Fri, 01 Mar 2019 02:53:09 +0900 FUJIWARA Katsunori contrib: change return value of file checking function of check-code.py
Fri, 01 Mar 2019 02:53:09 +0900 FUJIWARA Katsunori contrib: factor out actual error check for file data of check-code.py
Fri, 01 Mar 2019 02:53:09 +0900 FUJIWARA Katsunori contrib: refactor preparation logic for patterns of check-code.py
Fri, 01 Mar 2019 02:53:05 +0900 FUJIWARA Katsunori contrib: split pypats list in check-code.py
Sun, 13 Jan 2019 20:27:00 -0500 Augie Fackler contrib: enforce wrapping too-long lines with () instead of \
Mon, 04 Feb 2019 09:38:33 -0800 Gregory Szorc check-code: use raw string
Thu, 17 Jan 2019 09:17:12 -0800 Martin von Zweigbergk cleanup: delete lots of unused local variables
Fri, 21 Sep 2018 19:48:23 -0400 Matt Harbison py3: rename pycompat.getcwd() to encoding.getcwd() (API)
Fri, 10 Aug 2018 02:17:50 -0400 Augie Fackler contrib: have check-code look at files in latin1 instead of ascii
Wed, 01 Aug 2018 13:08:00 -0700 Gregory Szorc check-code: ban use of bare xrange()
Sat, 05 May 2018 18:35:16 -0700 Gregory Szorc pycompat: export queue module instead of symbols in module (API)
Sat, 31 Mar 2018 15:54:26 -0400 Matt Harbison check-code: tighten the check for `ls -R`
Wed, 14 Mar 2018 14:05:45 -0400 Augie Fackler contrib: fix a subtle bug in check-code's regex rewriting
Wed, 14 Mar 2018 15:42:23 -0400 Augie Fackler contrib: open a hole in the open().read() ban for open().close()
Tue, 13 Feb 2018 18:00:59 -0500 Augie Fackler contrib: ban $RANDOM using check-code
Sat, 16 Dec 2017 12:34:40 -0500 Matt Harbison tests: fix the check-code rule for testing non-existent files
Sat, 16 Dec 2017 11:32:10 -0500 Matt Harbison tests: convert the 'file://\$TESTTMP' rule to an automatic substitution
Thu, 14 Dec 2017 22:26:46 +0900 Yuya Nishihara check-code: remove unused variable 'winglobmsg'
Sun, 10 Dec 2017 22:45:35 -0500 Matt Harbison check-code: drop the rules for adding (glob) for Windows paths
Sat, 09 Dec 2017 00:39:15 +0900 Yuya Nishihara check-code: allow tabs in heredoc
Tue, 05 Dec 2017 16:44:20 -0500 Augie Fackler contrib: ban find(1)'s -printf operator, as it is a GNU-ism
Wed, 29 Nov 2017 17:06:45 -0500 Augie Fackler contrib: improve check-code ban on $LOCALIP in output without (glob)
Sat, 18 Nov 2017 13:00:47 +0800 Anton Shestakov check-code: grep's context flags don't need an extra space before number
Mon, 16 Oct 2017 11:43:41 -0400 Augie Fackler contrib: remove check-code rule about indentation
Thu, 12 Oct 2017 09:34:58 -0700 Jun Wu check-code: suggest pycompat.is(posix|windows|darwin)
Wed, 11 Oct 2017 17:42:57 -0700 Jun Wu check-code: forbid platform.system()
Wed, 11 Oct 2017 03:48:11 -0700 Augie Fackler contrib: add check-code rule banning use of readlink
Thu, 05 Oct 2017 14:18:55 -0700 Saurabh Singh test-check-code: fail new commits which use 'atexit' instead of 'ui.atexit'
Mon, 02 Oct 2017 02:34:47 -0700 Siddharth Agarwal check-code: allow an exception for camelcase where required
Fri, 29 Sep 2017 11:55:44 -0400 Augie Fackler contrib: add a check to check-code to ban superfluous pass statements
Wed, 06 Sep 2017 08:22:54 -0700 Martin von Zweigbergk check-code: fix incorrect capitalization in camelcase regex
Fri, 01 Sep 2017 16:44:30 -0700 Jun Wu check-code: forbid "\S" in egrep regular expression
Fri, 01 Sep 2017 15:47:32 -0700 Jun Wu check-code: forbid using bash in shebang
Fri, 07 Jul 2017 15:11:11 -0400 Augie Fackler check-code: prohibit `if False` antipattern
Thu, 06 Jul 2017 15:15:02 -0400 Augie Fackler contrib: widen "direct use of `python`" net again
Tue, 20 Jun 2017 17:25:57 -0400 Augie Fackler contrib: widen the "don't use `python`" net a little
Tue, 20 Jun 2017 09:49:43 -0400 Augie Fackler contrib: add check-code rule to enforce non-use of `python` in tests
Tue, 06 Jun 2017 08:58:27 -0700 Danek Duvall check-code: ban grep's context flags (-A/-B/-C) since they're not on Solaris
Wed, 31 May 2017 11:41:54 -0700 Jun Wu check-code: suggest policy.importmod
Sun, 21 May 2017 13:34:42 -0700 Siddharth Agarwal check-code: allow skipping hasattr check in py3-only code
Mon, 15 May 2017 14:08:02 -0400 Augie Fackler style: ban [ foo == bar] bashism in tests
Mon, 01 May 2017 17:23:48 +0900 Yuya Nishihara check-code: ignore re-exports of os.environ in encoding.py
Wed, 26 Apr 2017 21:51:19 +0900 Yuya Nishihara check-code: exclude demandimport.py and policy.py from Python 3 checks
Mon, 01 May 2017 17:10:22 +0900 Yuya Nishihara check-code: rewrite py3 exclusion pattern with negative lookahead
Mon, 10 Apr 2017 17:05:54 +0200 Pierre-Yves David checkcode: only match pushd/popd as word
Thu, 06 Apr 2017 22:08:23 -0700 Jun Wu check-code: use "-" to specify a list of files from stdin
Mon, 03 Apr 2017 18:58:00 -0400 Augie Fackler check-code: update test IP address enforcement checks
Mon, 03 Apr 2017 11:30:51 -0700 Martin von Zweigbergk check-code: fix "covert" typo
Wed, 29 Mar 2017 16:46:57 -0700 Jun Wu check-code: detect r.revision(r.node(rev))
Sun, 26 Mar 2017 19:57:17 -0700 Jun Wu runtests: change local IP glob pattern from "127.0.0.1" to "$LOCALIP"
Thu, 23 Mar 2017 21:23:21 -0700 Jun Wu checkcode: enforce lowercase for extension docstring title
Tue, 21 Mar 2017 22:46:17 -0700 Gregory Szorc check-code: recommend util.urlreq when importing urlparse
Mon, 13 Mar 2017 12:40:14 -0700 Gregory Szorc py3: add __bool__ to every class defining __nonzero__
Mon, 13 Feb 2017 09:44:16 -0800 Martin von Zweigbergk merge with stable
Sat, 21 Jan 2017 14:43:13 -0800 Yedidya Feldblum check-code: permit functools.reduce
Sat, 11 Feb 2017 00:23:55 +0900 FUJIWARA Katsunori misc: replace domain of mercurial-devel ML address by mercurial-scm.org stable
Sat, 11 Feb 2017 00:23:53 +0900 FUJIWARA Katsunori misc: replace domain of mercurial ML address by mercurial-scm.org stable
Sun, 15 Jan 2017 13:17:05 +0530 Pulkit Goyal py3: replace pycompat.getenv with encoding.environ.get
Fri, 13 Jan 2017 10:11:37 -0800 Martin von Zweigbergk check-code: reject module-level @cachefunc
Wed, 21 Dec 2016 22:42:31 +0530 Pulkit Goyal py3: add warnings in check-code related to py3
Wed, 30 Nov 2016 19:23:04 +0000 Jun Wu check-code: add a rule to forbid "cp -r"
Tue, 01 Nov 2016 20:39:37 +0900 FUJIWARA Katsunori contrib: check reference to old selenic.com domain stable
Tue, 01 Nov 2016 20:39:36 +0900 FUJIWARA Katsunori check-code: discard filtering result of previous check for independence stable
Tue, 16 Aug 2016 17:15:54 +0900 Yuya Nishihara check-code: allow assignment to hasattr variable
Mon, 15 Aug 2016 17:17:39 +0900 Yuya Nishihara check-code: make dict() pattern less invasive
Fri, 20 May 2016 09:47:35 +0900 FUJIWARA Katsunori check-code: move fixing up regexp into main procedure
Fri, 20 May 2016 09:47:35 +0900 FUJIWARA Katsunori check-code: factor out boot procedure into main
Wed, 13 Jul 2016 23:38:29 +0530 Pulkit Goyal py3: conditionalize BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer import
Sat, 09 Jul 2016 23:04:03 -0400 Augie Fackler check-code: enforce (glob) on output lines containing 127.0.0.1
Tue, 12 Jul 2016 15:34:17 -0400 Augie Fackler check-code: only treat a # as a line in a t-test if it has a space before it
Tue, 28 Jun 2016 16:01:53 +0530 Pulkit Goyal py3: conditionalize httplib import
Mon, 27 Jun 2016 19:10:30 +0530 Pulkit Goyal py3: add tests in check-code to load modules from util.py
Tue, 21 Jun 2016 00:50:39 +0900 FUJIWARA Katsunori check-code: build translation table for repquote in global for efficiency
Tue, 21 Jun 2016 00:50:39 +0900 FUJIWARA Katsunori check-code: detect "missing _() in ui message" more exactly
Tue, 31 May 2016 21:49:49 +0900 Yuya Nishihara check-code: make 'ls' pattern less invasive
Tue, 31 May 2016 21:02:30 +0900 FUJIWARA Katsunori check-code: make repquote distinguish more characters for exact detection
Tue, 31 May 2016 21:02:30 +0900 FUJIWARA Katsunori check-code: centralize rules depending on implementation of repquote
Tue, 31 May 2016 21:02:30 +0900 FUJIWARA Katsunori check-code: use fixedmap for replacement of space characters
Tue, 31 May 2016 20:58:10 +0900 FUJIWARA Katsunori check-code: replace quoted characters correctly
Mon, 16 May 2016 21:18:59 +0000 timeless check-code: reject .next(...)
Wed, 11 May 2016 01:46:11 +0000 timeless check-code: handle py3 open divergence
Wed, 11 May 2016 01:44:39 +0000 timeless check-code: switch to opener
Wed, 11 May 2016 01:39:07 +0000 timeless check-code: handle range/xrange divergence
Wed, 11 May 2016 01:56:08 +0000 timeless check-code: fix py3 complaint about \NNN being invalid unicode
Fri, 06 May 2016 08:45:56 -0500 Kevin Bullock check-code: add a rule banning `env -u`
Thu, 07 Apr 2016 00:34:07 +0000 timeless check-code: reject import urllib
Wed, 06 Apr 2016 20:08:18 +0000 timeless check-code: reject import Queue, suggest util.queue class for py3 compat
Wed, 30 Mar 2016 22:01:47 +0000 timeless check-code: reject sed ... \\n
Wed, 30 Mar 2016 07:24:51 +0000 timeless py24: remove check-code py24 notation
Sat, 19 Mar 2016 20:49:02 -0400 Augie Fackler check-code: also ban strcat
Sat, 19 Mar 2016 20:18:38 -0400 Augie Fackler check-code: prevent use of strcpy
Sun, 13 Mar 2016 01:08:39 +0530 Pulkit Goyal check-code: use absolute_import and print_function
Sat, 27 Feb 2016 21:14:17 -0800 Gregory Szorc check-code: remove redundant import style check
Wed, 24 Feb 2016 18:42:14 +0000 Jun Wu check-code: allow old style class with special comments
Thu, 11 Feb 2016 02:15:45 +0900 FUJIWARA Katsunori check-code: add rule to detect usage of external diff via extdiff
Wed, 10 Feb 2016 22:44:29 +0900 FUJIWARA Katsunori check-code: examine magic pattern matching against contents of a file
Mon, 08 Feb 2016 18:29:17 +0900 FUJIWARA Katsunori tests: make chunk header of external diff glob-ed for portability
less more (0) -120 tip