Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
samaloney committed Apr 16, 2024
1 parent 0945a60 commit e5943c2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# https://editorconfig.org
root=true
# utf, UNIX-style new line

[*]
charset=utf-8
end_of_line=lf
insert_final_newline=true
trim_trailing_whitespace=true

[*.{py,rst,md}]
indent_style=space
indent_size=4

[*.yml]
indent_style=space
indent_size=2
5 changes: 2 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config

from pathlib import Path

# -- Project information -----------------------------------------------------

project = "STIXpy"
copyright = "2020, STIX Team"
author = "STIX Team"

from pathlib import Path
# The full version, including alpha/beta/rc tags
from stixpy import __version__

release = __version__
is_development = ".dev" in release

Expand All @@ -26,7 +25,6 @@
# ones.
extensions = [
"matplotlib.sphinxext.plot_directive",
"sphinx_gallery.gen_gallery",
"sphinx.ext.autodoc",
"sphinx.ext.coverage",
"sphinx.ext.doctest",
Expand All @@ -40,6 +38,7 @@
"sphinx_automodapi.smart_resolver",
"sphinx_changelog",
"sphinx_design",
"sphinx_gallery.gen_gallery",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ include_trailing_comma = true
known_first_party = stixpy
length_sort = false
length_sort_sections = stdlib
line_length = 110
line_length = 120
multi_line_output = 3
no_lines_before = LOCALFOLDER
sections = STDLIB, THIRDPARTY, FIRSTPARTY, LOCALFOLDER
Expand Down

0 comments on commit e5943c2

Please sign in to comment.