Skip to content

Commit

Permalink
Update to Python 3.12 (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamtoozer authored Oct 1, 2024
1 parent 9b084cf commit c951e65
Show file tree
Hide file tree
Showing 5 changed files with 177 additions and 231 deletions.
16 changes: 16 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[flake8]
exclude = tests/*
max-line-length = 160
inline-quotes = double
multiline-quotes = double
docstring-quotes = double
avoid-escape = True
ignore =
# Multiple statements of a function definition should be on their own separate lines
E704,

# Line breaks should occur after the binary operator to keep all variable names aligned
W503,

# Colons should not have any space before them
E203,
9 changes: 2 additions & 7 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ limit-inference-results=100

# List of plugins (as comma separated values of python module names) to load,
# usually to register additional checkers.
load-plugins=pylint.extensions.mccabe,pylint_quotes
load-plugins=pylint.extensions.mccabe

# Pickle collected data for later comparisons.
persistent=yes

# Minimum Python version to use for version dependent checks. Will default to
# the version used to run pylint.
py-version=3.11
py-version=3.12

# Discover python modules and packages in the file system subtree.
recursive=no
Expand Down Expand Up @@ -344,11 +344,6 @@ single-line-class-stmt=no
# else.
single-line-if-stmt=no

string-quote=double-avoid-escape
triple-quote=double
docstring-quote=double


[IMPORTS]

# List of modules that can be imported at any level, not just the top level
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11.4
3.12.6
Loading

0 comments on commit c951e65

Please sign in to comment.