File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/pre-commit/pre-commit-hooks
3- rev : v5 .0.0
3+ rev : v6 .0.0
44 hooks :
55 - id : check-merge-conflict
66 - id : debug-statements
@@ -14,12 +14,12 @@ repos:
1414 exclude : argtable3
1515 verbose : true
1616 - repo : https://github.com/asottile/reorder_python_imports
17- rev : v3.14 .0
17+ rev : v3.15 .0
1818 hooks :
1919 - id : reorder-python-imports
2020 args : [--unclassifiable-application-module=_msprime]
2121 - repo : https://github.com/asottile/pyupgrade
22- rev : v3.19.1
22+ rev : v3.20.0
2323 hooks :
2424 - id : pyupgrade
2525 args : [--py38-plus]
2929 - id : black
3030 language_version : python3
3131 - repo : https://github.com/pycqa/flake8
32- rev : 7.1.2
32+ rev : 7.3.0
3333 hooks :
3434 - id : flake8
3535 args : [--config=.flake8]
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def clear_seed_rng():
6969
7070
7171def get_random_seed () -> int :
72- global _seed_rng_map
72+ global _seed_rng_map # noqa: F824
7373 pid = os .getpid ()
7474 if pid not in _seed_rng_map :
7575 # If we don't provide a seed to Random(), Python will seed either
@@ -87,7 +87,7 @@ def set_seed_rng_seed(seed: int):
8787
8888 DO NOT USE THIS FUNCTION!!!
8989 """
90- global _seed_rng_map
90+ global _seed_rng_map # noqa: F824
9191 pid = os .getpid ()
9292 _seed_rng_map [pid ] = random .Random (seed )
9393
You can’t perform that action at this time.
0 commit comments