Skip to content

Commit

Permalink
Update to Python 3.9, Ubuntu 21.10
Browse files Browse the repository at this point in the history
- Add Pipfile to manage dependencies
- Add pre-commit to maintain code quality
- Address deprecation warnings

Close gentakojima#47
(gentakojima#47)
Close gentakojima#35
(gentakojima#35)
Close gentakojima#30
(gentakojima#30)
  • Loading branch information
victoriadrake committed Feb 13, 2022
1 parent cb5f504 commit d47fd08
Show file tree
Hide file tree
Showing 5 changed files with 532 additions and 140 deletions.
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
fail_fast: true
repos:
- repo: https://github.com/psf/black
rev: 19.3b0
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
rev: v1.7.0
hooks:
- id: blacken-docs
additional_dependencies: [black==19.3b0]
- repo: local
hooks:
- id: markdownlint
name: markdownlint
description: "Lint Markdown files"
entry: markdownlint '**/*.md' --fix --ignore node_modules --config "./.markdownlint.json"
language: node
types: [markdown]
12 changes: 12 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]

[dev-packages]
pre-commit = "*"

[requires]
python_version = "3.9"
138 changes: 138 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
Source: emojione-picker
Section: python
Priority: optional
Homepage: https://github.com/gentakojima/emojione-picker-ubuntu
Homepage: https://github.com/victoriadrake/emojione-picker-ubuntu
Standards-Version: 3.9.5
X-Python-Version: << 2.8
Build-Depends: debhelper (>= 7), python (<<2.8)
Maintainer: Jorge Suárez de Lis <[email protected]>
Build-Depends: debhelper (>= 9), python (<<2.8)
Maintainer: Victoria Drake <[email protected]>


Package: emojione-picker
Section: python
Depends: python-gi (>=3.2), python2.7, python-notify (>=0.1), gir1.2-notify-0.7, gir1.2-appindicator3-0.1, gir1.2-rsvg-2.0, xdotool
Depends: python-gi (>=3.2), python3.9, python-notify (>=0.1), gir1.2-notify-0.7, gir1.2-appindicator3-0.1, gir1.2-rsvg-2.0, xdotool
Architecture: all
Description: Emoji Picker for the indicator area using Emoji One
Emoji Picker featuring several menus and a search panel.
Expand Down
Loading

0 comments on commit d47fd08

Please sign in to comment.