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