🔧 Add main config files
This commit is contained in:
parent
02a63e73b2
commit
6512713838
5 changed files with 80 additions and 1 deletions
1
.env
Normal file
1
.env
Normal file
|
@ -0,0 +1 @@
|
|||
PYTHONPATH=./docs/src
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -2,5 +2,8 @@
|
|||
*.pyc
|
||||
__pycache__
|
||||
env3.7
|
||||
env3.6
|
||||
dist
|
||||
.mypy_cache
|
||||
.idea
|
||||
site
|
||||
|
|
32
.travis.yml
Normal file
32
.travis.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
dist: xenial
|
||||
|
||||
language: python
|
||||
|
||||
cache: pip
|
||||
|
||||
python:
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
- "nightly"
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- python: "nightly"
|
||||
|
||||
install:
|
||||
- pip install flit
|
||||
- flit install --symlink
|
||||
|
||||
script:
|
||||
- bash scripts/test.sh
|
||||
|
||||
after_script:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: bash scripts/deploy.sh
|
||||
on:
|
||||
tags: true
|
||||
python: "3.6"
|
2
mypy.ini
Normal file
2
mypy.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
[mypy]
|
||||
ignore_missing_imports = True
|
|
@ -7,7 +7,48 @@ module = "typer"
|
|||
author = "Sebastián Ramírez"
|
||||
author-email = "tiangolo@gmail.com"
|
||||
home-page = "https://github.com/tiangolo/typer"
|
||||
classifiers = ["License :: OSI Approved :: MIT License"]
|
||||
classifiers = [
|
||||
"Intended Audience :: Information Technology",
|
||||
"Intended Audience :: System Administrators",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python",
|
||||
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
"Topic :: Software Development :: Libraries",
|
||||
"Topic :: Software Development",
|
||||
"Typing :: Typed",
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"License :: OSI Approved :: MIT License"
|
||||
]
|
||||
requires = [
|
||||
"click >= 7.0.0, <8.0.0"
|
||||
]
|
||||
description-file = "README.md"
|
||||
requires-python = ">=3.6"
|
||||
|
||||
[tool.flit.metadata.urls]
|
||||
Documentation = "https://typer.tiangolo.com/"
|
||||
|
||||
[tool.flit.metadata.requires-extra]
|
||||
test = [
|
||||
"pytest >=4.0.0",
|
||||
"pytest-cov",
|
||||
"mypy",
|
||||
"black",
|
||||
"isort"
|
||||
]
|
||||
doc = [
|
||||
"mkdocs",
|
||||
"mkdocs-material",
|
||||
"markdown-include"
|
||||
]
|
||||
all = [
|
||||
"colorama",
|
||||
"click-completion"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue