Peter Pentchev | b91fc93 | 2023-01-19 15:27:13 +0200 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: StorPool <support@storpool.com> |
| 2 | # SPDX-License-Identifier: BSD-2-Clause |
| 3 | |
| 4 | [build-system] |
| 5 | requires = ["setuptools >= 61", "wheel"] |
| 6 | build-backend = "setuptools.build_meta" |
| 7 | |
| 8 | [project] |
| 9 | name = "gifn_apply" |
| 10 | version = "0.1.0" |
| 11 | description = "Functional tests for the git-if-needed tool" |
| 12 | readme = "python/README.md" |
| 13 | requires-python = ">= 3.8" |
| 14 | |
| 15 | [[project.authors]] |
| 16 | name = "StorPool" |
| 17 | email = "support@storpool.com" |
| 18 | |
| 19 | [project.scripts] |
| 20 | gifn_apply = "gifn_apply.__main__:main" |
| 21 | |
| 22 | [tool.setuptools] |
| 23 | zip-safe = true |
| 24 | package-dir = {"" = "python"} |
| 25 | packages = ["gifn_apply"] |
| 26 | |
| 27 | [tool.black] |
| 28 | line-length = 100 |
| 29 | |
| 30 | [tool.mypy] |
| 31 | strict = true |
| 32 | python_version = "3.8" |
| 33 | |
| 34 | [tool.pylint] |
| 35 | py-version = "3.8" |
| 36 | load-plugins = [ |
| 37 | "pylint.extensions.bad_builtin", |
| 38 | "pylint.extensions.broad_try_clause", |
| 39 | "pylint.extensions.check_elif", |
| 40 | "pylint.extensions.code_style", |
| 41 | "pylint.extensions.comparetozero", |
| 42 | "pylint.extensions.comparison_placement", |
| 43 | "pylint.extensions.confusing_elif", |
| 44 | "pylint.extensions.consider_refactoring_into_while_condition", |
| 45 | "pylint.extensions.consider_ternary_expression", |
| 46 | "pylint.extensions.dict_init_mutate", |
| 47 | "pylint.extensions.docparams", |
| 48 | "pylint.extensions.docstyle", |
| 49 | "pylint.extensions.dunder", |
| 50 | # "pylint.extensions.empty_comment", # the license text triggers this |
| 51 | "pylint.extensions.emptystring", |
| 52 | "pylint.extensions.eq_without_hash", |
| 53 | "pylint.extensions.for_any_all", |
| 54 | "pylint.extensions.magic_value", |
| 55 | "pylint.extensions.mccabe", |
| 56 | "pylint.extensions.no_self_use", |
| 57 | "pylint.extensions.overlapping_exceptions", |
| 58 | "pylint.extensions.private_import", |
| 59 | "pylint.extensions.redefined_loop_name", |
| 60 | "pylint.extensions.redefined_variable_type", |
| 61 | "pylint.extensions.set_membership", |
| 62 | "pylint.extensions.typing", |
| 63 | "pylint.extensions.while_used", |
| 64 | ] |
| 65 | disable = [ |
| 66 | # Clarity |
| 67 | "consider-using-assignment-expr", |
| 68 | ] |
| 69 | |
| 70 | [tool.test-stages] |
| 71 | stages = ["ruff and not @manual", "@check and not @manual", "@tests and not @manual"] |