EDIT: Today the new version with a bug fix is available on CTAN.
enumitem -- Version 3.5.2 -- 2011-09-28
You use the optional argument of the environment:
\documentclass{article}
\usepackage[inline]{enumitem}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\begin{enumerate*}[label=(\arabic*.)]
\item foo
\item bar
\end{enumerate*}
\lipsum[2]
\end{document}
To set this behavior global you can use \setlist.
EDIT
I am using enumitem.sty 2011/09/05 v3.5.1 Customized lists. It seems that this version has a bug with \setlist*. You can use
\setlist[]*{}
That works well. But in the documentation is listed:
\setlist*[]{}
That doesn't work.
Here a small workaround:
\listfiles
\documentclass{article}
\usepackage[inline]{enumitem}
\usepackage{lipsum}
\makeatletter
\def\setlist{%
\@ifstar%
{\temp@setlist}
{\temp@@setlist}
}
\newcommand\temp@setlist[1][]{%
\enit@setlist{#1}\@ne}
\newcommand\temp@@setlist[1][]{%
\enit@setlist{#1}\z@}
\makeatletter
%\setlist[enumerate]*{label=(\arabic*.)}
\setlist*[enumerate]{label=(\arabic*.)}
\makeatother
\begin{document}
\lipsum[1]
\begin{enumerate*}
\item foo
\item bar
\end{enumerate*}
\lipsum[2]
\end{document}
The problem is the definition of setlist
\newcommand\setlist[1][]{%
\@ifstar{\enit@setlist{#1}\@ne}{\enit@setlist{#1}\z@}}
setlist first check the optional argument before the test \@ifstar works.
EDIT
Send Bug-report.
EDIT:
The author of enumitem will fixed the bug and will upload the new version in one or two weeks.