Files @ 511b20a6475d
Branch filter:

Location: kallithea/pytype_requirements.txt - annotation

Manuel Jacob
tests: skip reading Git system and global configuration in test_vcs_operations

The parent changeset reduced the dependency on global configuration and made it
possible to run tests without any global git configuration. But it is still
unfortunate to even look at the global configuration when running tests.

Global configuration is already disabled for Mercurial by setting HGRCPATH.

Now do something similar for Git. According to the git man page,
GIT_CONFIG_GLOBAL and GIT_CONFIG_SYSTEM set to /dev/null will make Git skip
reading the configuration files on all platforms.

Note that the GIT_CONFIG variables were introduced in Git 2.32.0, so this will
not work with all the Git versions supported by Kallithea.
1
2
3
4
5
6
7
8
9
# Note: we support pytype on Python3.9
pytype==2021.4.1
# optional modules that we want for pytype checking
ipython
kajiki
psycopg2
python-ldap
python-pam
tgext.debugbar