diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index 4fb3bf0..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,115 +0,0 @@ -[project] -name = "gamspy-examples" -authors = [ - { name = "GAMS Development Corporation", email = "support@gams.com" }, -] -description = "GAMSPy mathematical modeling examples" -requires-python = ">=3.8" -license.file = "LICENSE" -keywords = ["Optimization", "GAMS", "GAMSPy"] -classifiers = [ - "Programming Language :: Python", - "Topic :: Software Development", - "Topic :: Scientific/Engineering", - "Intended Audience :: Developers", - "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Operating System :: POSIX", - "Operating System :: Unix", - "Operating System :: MacOS", - "Operating System :: Microsoft :: Windows", -] -dynamic = ["dependencies"] - -[tool.setuptools.dynamic] -dependencies = {file = ["requirements.txt"]} - -[tool.mypy] -warn_unused_configs = true -follow_imports = "skip" -follow_imports_for_stubs = true -ignore_missing_imports = true - -[tool.ruff] -# Exclude a variety of commonly ignored directories. -exclude = [ - ".bzr", - ".direnv", - ".eggs", - ".git", - ".git-rewrite", - ".hg", - ".ipynb_checkpoints", - ".mypy_cache", - ".nox", - ".pants.d", - ".pyenv", - ".pytest_cache", - ".pytype", - ".ruff_cache", - ".svn", - ".tox", - ".venv", - ".vscode", - "__pypackages__", - "_build", - "docs", - "buck-out", - "build", - "dist", - "node_modules", - "site-packages", - "venv", -] - -# Same as Black. -line-length = 87 -indent-width = 4 - -# Assume Python 3.8 -target-version = "py38" - -[tool.ruff.lint] -select = [ - # pycodestyle - "E", - # Pyflakes - "F", - # pyupgrade - "UP", - # flake8-bugbear - "B", - # flake8-simplify - "SIM", - # isort - "I", -] -ignore = ["E203", "E501", "E701", "E741", "E743", "W605", "SIM105", "B028", "B006"] - -# Allow fix for all enabled rules (when `--fix`) is provided. -fixable = ["ALL"] -unfixable = [] - -# Allow unused variables when underscore-prefixed. -dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" - -[tool.ruff.format] -# Like Black, use double quotes for strings. -quote-style = "double" - -# Like Black, indent with spaces, rather than tabs. -indent-style = "space" - -# Like Black, respect magic trailing commas. -skip-magic-trailing-comma = false - -# Like Black, automatically detect the appropriate line ending. -line-ending = "auto"