Debian Codegraph @

ansible_collections/community/postgresql/noxfile.py

raw
1 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
2 # SPDX-License-Identifier: GPL-3.0-or-later
3 # SPDX-FileCopyrightText: Ansible Project
4
5 # /// script
6 # dependencies = ["nox>=2025.02.09", "antsibull-nox"]
7 # ///
8
9 import sys
10
11 import nox
12
13
14 try:
15 import antsibull_nox
16 except ImportError:
17 print("You need to install antsibull-nox in the same Python environment as nox.")
18 sys.exit(1)
19
20
21 antsibull_nox.load_antsibull_nox_toml()
22
23
24 # Allow to run the noxfile with `python noxfile.py`, `pipx run noxfile.py`, or similar.
25 # Requires nox >= 2025.02.09
26 if __name__ == "__main__":
27 nox.main()